From b3968b314f063c42f983ba70becfb9fae97651f0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 14 Apr 2004 17:44:28 +0000 Subject: nginx-0.0.3-2004-04-14-21:44:28 import --- src/os/unix/ngx_process_cycle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/os/unix/ngx_process_cycle.c') 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) { -- cgit v1.2.3