Commit e21cdd13 authored by Savorboard's avatar Savorboard

rename methods

parent 63f512f9
...@@ -76,7 +76,7 @@ namespace DotNetCore.CAP ...@@ -76,7 +76,7 @@ namespace DotNetCore.CAP
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.ExceptionOccuredWhileExecuting(message?.Name, ex); _logger.ExceptionOccuredWhileExecuting(message.Name, ex);
fetched.Requeue(); fetched.Requeue();
...@@ -89,7 +89,7 @@ namespace DotNetCore.CAP ...@@ -89,7 +89,7 @@ namespace DotNetCore.CAP
IState newState; IState newState;
if (!result.Succeeded) if (!result.Succeeded)
{ {
var shouldRetry = UpdateMessageForRetryAsync(message); var shouldRetry = UpdateMessageForRetry(message);
if (shouldRetry) if (shouldRetry)
{ {
newState = new ScheduledState(); newState = new ScheduledState();
...@@ -109,7 +109,7 @@ namespace DotNetCore.CAP ...@@ -109,7 +109,7 @@ namespace DotNetCore.CAP
return newState; return newState;
} }
private static bool UpdateMessageForRetryAsync(CapReceivedMessage message) private static bool UpdateMessageForRetry(CapReceivedMessage message)
{ {
var retryBehavior = RetryBehavior.DefaultRetry; var retryBehavior = RetryBehavior.DefaultRetry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment