fixed logging
This commit is contained in:
parent
49d6938e0f
commit
7143bd7ed9
1 changed files with 4 additions and 4 deletions
|
@ -158,6 +158,10 @@ public class MoodleCourseDataAsyncLoader {
|
|||
this.asyncRunner.runAsync(loadAndCache(restTemplate));
|
||||
this.lastRunTime = Utils.getMillisecondsNow();
|
||||
|
||||
log.info("LMS Setup: {} loaded {} courses asynchronously",
|
||||
this.lmsSetup,
|
||||
this.cachedCourseData.size());
|
||||
|
||||
}
|
||||
|
||||
private Runnable loadAndCache(final MoodleAPIRestTemplate restTemplate) {
|
||||
|
@ -169,10 +173,6 @@ public class MoodleCourseDataAsyncLoader {
|
|||
|
||||
this.lastLoadTime = Utils.getMillisecondsNow() - startTime;
|
||||
this.running = false;
|
||||
|
||||
log.info("LMS Setup: {} loaded {} courses asynchronously",
|
||||
this.lmsSetup,
|
||||
this.cachedCourseData.size());
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue