Support for graceful reload of mule processes.

- On reload master now signals mule with HUP instead of KILL.
- Added optional call to PyOS_AfterFork to enable cpython child
  processes to override and trap HUP signal.
- Copied cursed_at/no_mercy_at pattern used with worker processes.
- Added mule_reload_mercy option.
This commit is contained in:
Paul Egan
2014-04-26 14:12:48 +01:00
parent a559361a30
commit 72c31dab7a
9 changed files with 63 additions and 10 deletions
+2
View File
@@ -197,6 +197,8 @@ struct uwsgi_python {
PyObject *raw_callable;
struct uwsgi_string_list *sharedarea;
int call_osafterfork;
};