Merge pull request #10725 from backstage/search/task-scheduler-cleanups

This commit is contained in:
Eric Peterson
2022-04-09 11:14:39 +02:00
committed by GitHub
5 changed files with 651 additions and 322 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ To make this change to an existing app, make the following changes to `packages/
/* ... */
+ const schedule = env.scheduler.createScheduledTaskRunner({
+ frequency: Duration.fromObject({ seconds: 600 }),
+ timeout: Duration.fromObject({ seconds: 900 }),
+ frequency: Duration.fromObject({ minutes: 10 }),
+ timeout: Duration.fromObject({ minutes: 15 }),
+ initialDelay: Duration.fromObject({ seconds: 3 }),
+ });