瀏覽代碼

set default waiting time to 10 seconds when app shutting down.

master
yangxiaodong 7 年之前
父節點
當前提交
3c4e20caaa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessingServer.Cap.cs

+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessingServer.Cap.cs 查看文件

@@ -77,7 +77,7 @@ namespace DotNetCore.CAP.Processor
_cts.Cancel();
try
{
_compositeTask.Wait((int)TimeSpan.FromSeconds(60).TotalMilliseconds);
_compositeTask.Wait((int)TimeSpan.FromSeconds(10).TotalMilliseconds);
}
catch (AggregateException ex)
{


Loading…
取消
儲存