瀏覽代碼

rename methods

undefined
Savorboard 7 年之前
父節點
當前提交
e21cdd13d9
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs

+ 3
- 3
src/DotNetCore.CAP/IQueueExecutor.Subscribe.cs 查看文件

@@ -76,7 +76,7 @@ namespace DotNetCore.CAP
}
catch (Exception ex)
{
_logger.ExceptionOccuredWhileExecuting(message?.Name, ex);
_logger.ExceptionOccuredWhileExecuting(message.Name, ex);

fetched.Requeue();

@@ -89,7 +89,7 @@ namespace DotNetCore.CAP
IState newState;
if (!result.Succeeded)
{
var shouldRetry = UpdateMessageForRetryAsync(message);
var shouldRetry = UpdateMessageForRetry(message);
if (shouldRetry)
{
newState = new ScheduledState();
@@ -109,7 +109,7 @@ namespace DotNetCore.CAP
return newState;
}

private static bool UpdateMessageForRetryAsync(CapReceivedMessage message)
private static bool UpdateMessageForRetry(CapReceivedMessage message)
{
var retryBehavior = RetryBehavior.DefaultRetry;



Loading…
取消
儲存