You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In single-thread queues, it's possible for the warm_cache operation to have a race condition with newly enqueued jobs that result in the job not being immediately executed because the warm_cache operation has exhausted the executor itself.
Instead, warm_cache should be run on the global thread pool. I don't think this will have side effects.
The text was updated successfully, but these errors were encountered:
bensheldon
changed the title
Run Scheduler#cache_warm on global thread pool instead of Scheduler
Run Scheduler#cache_warm on global thread pool instead of Scheduler's thread pool
Jul 1, 2021
In single-thread queues, it's possible for the
warm_cache
operation to have a race condition with newly enqueued jobs that result in the job not being immediately executed because the warm_cache operation has exhausted the executor itself.Instead, warm_cache should be run on the global thread pool. I don't think this will have side effects.
The text was updated successfully, but these errors were encountered: