My use case wants to set up a special queue for long_running_tasks. E.g. When i run async_migrations (specifically - data backfills) through special solid_queue backed background job similar to as described here: https://kirshatrov.com/posts/async-migrations
My queue configuration:
- queues: "long_running_task"
threads: 1
polling_interval: 5
processes: 2
I was wondering:
- Can I set the
process_alive_threshold per worker queue, e.g. all are default, but this long_running_task's threshold is at 10 minutes? (I do not necesserily want to set it to a higher threshold globally since most of my jobs run in under 30 seconds)
- Can I configure a global timeout for a job, e.g. tasks that have been running for longer than 30 minutes automatically get shut down with a failure?
Thank you
My use case wants to set up a special queue for long_running_tasks. E.g. When i run async_migrations (specifically - data backfills) through special solid_queue backed background job similar to as described here: https://kirshatrov.com/posts/async-migrations
My queue configuration:
I was wondering:
process_alive_thresholdper worker queue, e.g. all are default, but this long_running_task's threshold is at 10 minutes? (I do not necesserily want to set it to a higher threshold globally since most of my jobs run in under 30 seconds)Thank you