code cleanup

This commit is contained in:
anhefti 2020-08-27 14:51:22 +02:00
parent e0fd028ebf
commit e8315e4da0

View file

@ -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(