瀏覽代碼

Fixed bug of the FailedRetryCount does not increase when raised SubscriberNotFoundException. #90

master
Savorboard 6 年之前
父節點
當前提交
13c3e34227
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs

+ 2
- 0
src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs 查看文件

@@ -68,6 +68,8 @@ namespace DotNetCore.CAP

AddErrorReasonToContent(message, ex);

++message.Retries; //issue: https://github.com/dotnetcore/CAP/issues/90

await _stateChanger.ChangeStateAsync(message, new FailedState(), connection);

fetched.RemoveFromQueue();


Loading…
取消
儲存