summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-01-30 10:00:37 +0000
committerXavier Morel <xmo@odoo.com>2019-01-30 11:22:05 +0000
commit6ce2d6efb5b53451f369d544a31c36a024e0faf5 (patch)
tree82596564916d4e91666c971c4223440f599dee8c /addons/web/static/src
parent1dbe4ea0d7f63d299b48edd6e55accb15a3632d2 (diff)
[FIX] core: allow signal handlers in multiprocess workers
Because Python only runs signal handlers on the main thread, native calls (IO or accept(2)) can delay these handlers running. This is especially problematic when one such call is completely stuck and we're trying to dump the stack to diagnose the issue. By running the actual worker's processing in a sub-thread and leaving the main thread sleeping, worker processes should always be able to handle signals. closes odoo/odoo#30688
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions