Skip to content

Commit

Permalink
Don't display max retry attempts count for processes, it's always the…
Browse files Browse the repository at this point in the history
… same
  • Loading branch information
odinserj committed Mar 22, 2017
1 parent d0c0931 commit 63beaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hangfire.Core/Server/AutomaticRetryProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void Execute(BackgroundProcessContext context)
_logger.Log(
logLevel,
// ReSharper disable once AccessToModifiedClosure
() => $"Error occurred during execution of '{_innerProcess}' process. Execution will be retried (attempt {i + 1} of {MaxRetryAttempts}) in {nextTry} seconds.",
() => $"Error occurred during execution of '{_innerProcess}' process. Execution will be retried (attempt #{i + 1}) in {nextTry} seconds.",
ex);

context.Wait(nextTry);
Expand Down

0 comments on commit 63beaa9

Please sign in to comment.