File tree 2 files changed +3
-3
lines changed
Masa.Contrib.Extensions.BackgroundJobs
Tests/Masa.Contrib.Extensions.BackgroundJobs.Tests
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ public int BatchSize
38
38
}
39
39
}
40
40
41
- private int _maxRetryTimes = 30 ;
41
+ private int _maxRetryTimes = 10 ;
42
42
43
43
/// <summary>
44
44
/// Maximum number of retries
45
- /// Default is 10
45
+ /// Default: 10
46
46
/// </summary>
47
47
public int MaxRetryTimes
48
48
{
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public void TestBackgroundJobOptions()
11
11
{
12
12
var backgroundJobOptions = new BackgroundJobOptions ( ) ;
13
13
Assert . AreEqual ( 30 , backgroundJobOptions . BatchSize ) ;
14
- Assert . AreEqual ( 30 , backgroundJobOptions . MaxRetryTimes ) ;
14
+ Assert . AreEqual ( 10 , backgroundJobOptions . MaxRetryTimes ) ;
15
15
Assert . AreEqual ( 60 , backgroundJobOptions . FirstWaitDuration ) ;
16
16
Assert . AreEqual ( 2 , backgroundJobOptions . WaitDuration ) ;
17
17
You can’t perform that action at this time.
0 commit comments