Ver código fonte

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

master
Savorboard 6 anos atrás
pai
commit
13c3e34227
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs

+ 2
- 0
src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs Ver arquivo

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


Carregando…
Cancelar
Salvar