Sfoglia il codice sorgente

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

master
Savorboard 6 anni fa
parent
commit
13c3e34227
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs

+ 2
- 0
src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs Vedi File

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


Caricamento…
Annulla
Salva