diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-14 21:44:28 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-14 21:44:28 +0400 |
commit | b3968b314f063c42f983ba70becfb9fae97651f0 (patch) | |
tree | 49334a35d59b4491c62facced5f0bdef1e434343 /src/os/unix/ngx_process_cycle.c | |
parent | a3677248993cddbf6f406dccd313eda8759724fb (diff) |
nginx-0.0.3-2004-04-14-21:44:28 import
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
-rw-r--r-- | src/os/unix/ngx_process_cycle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c index 6ee6dbec6..61cf0d54f 100644 --- a/src/os/unix/ngx_process_cycle.c +++ b/src/os/unix/ngx_process_cycle.c @@ -82,13 +82,13 @@ void ngx_master_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx) /* * we have to limit the maximum life time of the worker processes - * by 1 month because our millisecond event timer is limited - * by 49 days on 32-bit platforms + * by 10 days because our millisecond event timer is limited + * by 24 days on 32-bit platforms */ itv.it_interval.tv_sec = 0; itv.it_interval.tv_usec = 0; - itv.it_value.tv_sec = 30 * 24 * 60 * 60; + itv.it_value.tv_sec = 10 * 24 * 60 * 60; itv.it_value.tv_usec = 0; if (setitimer(ITIMER_REAL, &itv, NULL) == -1) { |