Commit 3c4e20ca authored by yangxiaodong's avatar yangxiaodong

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

parent 343e4095
......@@ -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)
{
......
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