Monday, June 11, 2018
1 change · master
Enhancements to existing features
Odoo can now notify its parent process once the server has finished loading, making automation and startup scripts easier to coordinate. This is limited to Unix systems using the threaded server, so the business impact is mainly improved operational reliability for deployments.
Original PR description
Only on unices and only in the threaded server (for now?) Looking at signal, the cross-platform default-ignored signals seem to be SIGURG, SIGCONT, SIGCHLD and SIGWINCH. SIGWINCH and SIGURG have very specific roles, and SIGCHLD seems unadapted: > Child stopped or terminated SIGCONT seems mostly innocuous (SIGCONT on a running process is a no-op) and its normal behaviour can even be useful: while more advanced language can sigwait/sigtimedwait, a shell can only trap and handle signals asynchronously, here a shell script could just SIGSTOP itself and know that it'll resume when the Odoo subprocess is ready for interaction.