diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-05-08 11:47:55 +0200 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-05-18 11:26:46 +0200 |
| commit | c28a998d3df9880fa00d6af2365dc03cefd0a6c2 (patch) | |
| tree | bfbb10f8c6e9a7dd90af87d146141245e4e2f32f /addons/web/static/src/js/views/basic | |
| parent | 31227289d21ee2dd882dffe41c08c4123552bf8d (diff) | |
[IMP] server: intercept SIGXCPU and shutdown gracefully
When the runbot spawns an Odoo instance, a CPU TIME limit is set.
When this limit is reached, the kernel kills the Odoo instance and no
message appears in the logs leaving the dev in a deep smoke cloud.
With this commit, the signal sent by the kernel when the soft
limit is reached (SIGXCPU), is intercepeted and Odoo shutdown gracefully with a
nice message for the dev.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
