Merge branch 'patch-1.0.2' into development
This commit is contained in:
commit
e0fd028ebf
2 changed files with 3 additions and 3 deletions
|
@ -44,14 +44,14 @@ public abstract class CourseAccess {
|
|||
this.allQuizzesRequest = asyncService.createMemoizingCircuitBreaker(
|
||||
allQuizzesSupplier(),
|
||||
3,
|
||||
Constants.MINUTE_IN_MILLIS,
|
||||
10 * Constants.SECOND_IN_MILLIS,
|
||||
Constants.MINUTE_IN_MILLIS,
|
||||
true,
|
||||
Constants.HOUR_IN_MILLIS);
|
||||
|
||||
this.chaptersRequest = asyncService.createCircuitBreaker(
|
||||
3,
|
||||
Constants.MINUTE_IN_MILLIS,
|
||||
10 * Constants.SECOND_IN_MILLIS,
|
||||
Constants.MINUTE_IN_MILLIS);
|
||||
|
||||
this.accountDetailRequest = asyncService.createCircuitBreaker(
|
||||
|
|
|
@ -161,7 +161,7 @@ public class LmsAPIServiceImpl implements LmsAPIService {
|
|||
final Long institutionId = filterMap.getInstitutionId();
|
||||
return this.lmsSetupDAO.all(institutionId, true)
|
||||
.getOrThrow()
|
||||
.stream()
|
||||
.parallelStream()
|
||||
.map(this::getLmsAPITemplate)
|
||||
.flatMap(Result::onErrorLogAndSkip)
|
||||
.map(template -> template.getQuizzes(filterMap))
|
||||
|
|
Loading…
Reference in a new issue