diff options
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -483,6 +483,8 @@ main_configure_done(struct conf *conf) static void main_reload(struct conf *conf) { + int prefork = conf->prefork; + if (conf->reload) { log_debug("%s: already in progress: %d pending", __func__, conf->reload); @@ -497,6 +499,12 @@ main_reload(struct conf *conf) return; } + /* + * We honour the prefork number only at startup; afterwards + * the number of server procs in not changed. + */ + conf->prefork = prefork; + main_configure(conf); } |