From 450659e62a74d2f4abe17c7a0dec77ffd3b9f123 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 26 Aug 2009 15:12:28 +0000 Subject: twice termination delay only after SIGALRM, otherwise many separate SIGCHLD and SIGIO signals quickly increase delay to the level when SIGKILL is sent --- src/os/unix/ngx_process.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/os/unix/ngx_process.c') diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c index f163651ee..48ba9d4db 100644 --- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -373,6 +373,7 @@ ngx_signal_handler(int signo) break; case SIGALRM: + ngx_sigalrm = 1; break; case SIGIO: -- cgit v1.2.3