Commit 1c03de4f authored by yangxiaodong's avatar yangxiaodong

update default retrycount 15 to 25.

parent 9cdd4afa
...@@ -16,7 +16,7 @@ namespace DotNetCore.CAP.Processor ...@@ -16,7 +16,7 @@ namespace DotNetCore.CAP.Processor
static RetryBehavior() static RetryBehavior()
{ {
DefaultRetryCount = 25; DefaultRetryCount = 15;
DefaultRetryInThunk = retries => DefaultRetryInThunk = retries =>
(int)Math.Round(Math.Pow(retries - 1, 4) + 15 + (_random.Next(30) * (retries))); (int)Math.Round(Math.Pow(retries - 1, 4) + 15 + (_random.Next(30) * (retries)));
......
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