Changed to 1 hour fixed interval for analytics.
Build and Deploy API / build-and-deploy (push) Successful in 1m45s
Details
Build and Deploy API / build-and-deploy (push) Successful in 1m45s
Details
This commit is contained in:
parent
b7daff42ce
commit
8dd80d5c7e
|
|
@ -16,8 +16,10 @@ void main() {
|
|||
infoF!"Loaded app config: port = %d, webOrigin = %s"(config.port, config.webOrigin);
|
||||
|
||||
// Start scheduled tasks in a separate thread:
|
||||
// JobSchedule analyticsSchedule = new FixedIntervalSchedule(minutes(10));
|
||||
JobSchedule analyticsSchedule = new DailySchedule(TimeOfDay.min());
|
||||
JobSchedule analyticsSchedule = new FixedIntervalSchedule(
|
||||
hours(1),
|
||||
Clock.currTime(UTC()) + seconds(10)
|
||||
);
|
||||
|
||||
JobScheduler jobScheduler = new TaskPoolScheduler();
|
||||
jobScheduler.addJob(() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue