浏览代码

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();


正在加载...
取消
保存