Merge pull request #33993 from backstage/freben/fix-scheduler-sleep

fix(scheduler): handle setTimeout overflow for long sleep durations
This commit is contained in:
Fredrik Adelöw
2026-04-20 09:47:11 +02:00
committed by GitHub
4 changed files with 56 additions and 8 deletions
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
Fixed scheduler `sleep` firing immediately for durations longer than ~24.8 days, caused by Node.js `setTimeout` overflowing its 32-bit millisecond limit.