Files
backstage/.changeset/swift-parrots-hammer.md
T
Fredrik Adelöw d63133e521 change to using a scope parameter instead
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-22 20:18:03 +02:00

374 B

@backstage/backend-tasks
@backstage/backend-tasks
patch

Scheduled tasks now have an optional scope field. If unset, or having the value 'global', the old behavior with cross-worker locking is retained. If having the value 'local', there is no coordination across workers and the behavior is more like setInterval. This can be used to replace usages of runPeriodically helpers.