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
We have prefork, eventlet/gevent pools, and can run worker in solo mode.
it looks like that solo-mode worker is a single thread worker, but it's not really a pool. it does not support warm shutdown correctly(all tasks in solo-mode worker will shutdown immediately but not to wait them to finish when stopping the worker, event after setting CELERY_ACKS_LATE=True)
If we can have a classic thread pool, we can use a thread as main thread to control the pool, other threads will take the workloads.
The text was updated successfully, but these errors were encountered:
We have prefork, eventlet/gevent pools, and can run worker in solo mode.
it looks like that solo-mode worker is a single thread worker, but it's not really a pool. it does not support warm shutdown correctly(all tasks in solo-mode worker will shutdown immediately but not to wait them to finish when stopping the worker, event after setting CELERY_ACKS_LATE=True)
If we can have a classic thread pool, we can use a thread as main thread to control the pool, other threads will take the workloads.
The text was updated successfully, but these errors were encountered: