code cleanup
This commit is contained in:
parent
e0fd028ebf
commit
e8315e4da0
1 changed files with 2 additions and 2 deletions
|
@ -44,14 +44,14 @@ public abstract class CourseAccess {
|
||||||
this.allQuizzesRequest = asyncService.createMemoizingCircuitBreaker(
|
this.allQuizzesRequest = asyncService.createMemoizingCircuitBreaker(
|
||||||
allQuizzesSupplier(),
|
allQuizzesSupplier(),
|
||||||
3,
|
3,
|
||||||
10 * Constants.SECOND_IN_MILLIS,
|
Constants.SECOND_IN_MILLIS * 10,
|
||||||
Constants.MINUTE_IN_MILLIS,
|
Constants.MINUTE_IN_MILLIS,
|
||||||
true,
|
true,
|
||||||
Constants.HOUR_IN_MILLIS);
|
Constants.HOUR_IN_MILLIS);
|
||||||
|
|
||||||
this.chaptersRequest = asyncService.createCircuitBreaker(
|
this.chaptersRequest = asyncService.createCircuitBreaker(
|
||||||
3,
|
3,
|
||||||
10 * Constants.SECOND_IN_MILLIS,
|
Constants.SECOND_IN_MILLIS * 10,
|
||||||
Constants.MINUTE_IN_MILLIS);
|
Constants.MINUTE_IN_MILLIS);
|
||||||
|
|
||||||
this.accountDetailRequest = asyncService.createCircuitBreaker(
|
this.accountDetailRequest = asyncService.createCircuitBreaker(
|
||||||
|
|
Loading…
Add table
Reference in a new issue