Better Scheduler (#484)
Update the scheduler to enqueue a task only after a short random interval has passed, and only if the task is not already enqueued. This prevents the problem in a distributed setting of hundreds of workers attempting to enqueue a scheduled task simultaneously (which is safe but not performant).
P
Peter Kraft committed
1887532427fbcb0b9548b440d21f6f2b5123b7a8
Parent: 4651b40
Committed by GitHub <noreply@github.com>
on 10/3/2025, 11:01:09 PM