Alex
877609dfb6
fix(worker): record worker state at startup, for every pool
...
in_worker() read task_join_will_block, which eventlet and gevent leave unset,
and the task's current_worker_task, which they scope to one greenlet -- so a
greenlet a task spawned in those pools still took the web-process branch and
dispatched to its own worker, where it could queue behind its parent and time
out.
The worker's own startup now records it: worker_init fires in every worker's
main process before the pool starts (where solo, threads, eventlet and gevent
run tasks, and what prefork children fork from), and worker_process_init in
each prefork child. worker_ready would be too late -- prefork children are
forked before it fires. The two existing checks stay for anything that runs
tasks without that startup.
2026-09-19 14:33:14 +01:00
..
2026-09-19 14:07:42 +01:00
2026-09-17 16:51:06 +01:00
2026-09-17 13:20:04 +01:00
2026-09-17 13:34:59 +01:00
2026-09-14 14:12:21 +01:00
2026-09-12 19:35:22 +01:00
2026-08-21 13:04:57 +01:00
2026-09-19 14:33:14 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-17 11:14:34 +01:00
2026-09-17 11:14:34 +01:00
2026-09-19 14:07:41 +01:00
2026-09-07 10:20:43 +01:00
2026-09-15 17:54:24 +01:00
2026-09-12 17:44:18 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-15 17:54:24 +01:00
2026-09-15 17:54:24 +01:00
2026-09-19 14:07:42 +01:00
2026-09-14 17:27:13 +01:00
2026-03-12 14:46:26 +00:00
2026-09-14 12:52:15 +01:00
2026-09-19 14:07:41 +01:00
2026-09-14 12:52:15 +01:00
2026-04-18 13:13:57 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-15 17:54:24 +01:00
2026-09-07 10:20:43 +01:00
2026-09-14 08:33:46 +01:00
2026-09-14 10:19:59 +01:00
2026-09-14 12:52:15 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-19 14:33:14 +01:00
2026-09-17 11:32:50 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-14 10:19:59 +01:00
2026-09-14 21:46:09 +01:00
2026-01-22 13:11:24 +02:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2023-10-15 17:00:54 +05:30
2026-09-12 17:28:58 +01:00
2026-09-07 12:02:07 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-17 11:04:01 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-14 12:52:15 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-09 11:09:09 +01:00
2026-09-14 17:27:13 +01:00
2026-09-07 10:20:43 +01:00
2026-09-15 17:54:24 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00
2026-09-07 10:20:43 +01:00