This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
BPA.CAP
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
update default retrycount 15 to 25.
master
yangxiaodong
7 years ago
parent
9cdd4afafe
commit
1c03de4f94
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/DotNetCore.CAP/Processor/RetryBehavior.cs
+ 1
- 1
src/DotNetCore.CAP/Processor/RetryBehavior.cs
View File
@@ -16,7 +16,7 @@ namespace DotNetCore.CAP.Processor
static RetryBehavior()
{
DefaultRetryCount =
2
5;
DefaultRetryCount =
1
5;
DefaultRetryInThunk = retries =>
(int)Math.Round(Math.Pow(retries - 1, 4) + 15 + (_random.Next(30) * (retries)));
Write
Preview
Loading…
Cancel
Save