aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-26 15:12:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-26 15:12:28 +0000
commit450659e62a74d2f4abe17c7a0dec77ffd3b9f123 (patch)
tree7d7783e3f2d2d9fb88b0e2a084cda51316dd1420 /src/os/unix/ngx_process.c
parent31f6c5c55d8b047aa68e5f7667020331b3e078ba (diff)
downloadnginx-450659e62a74d2f4abe17c7a0dec77ffd3b9f123.tar.gz
nginx-450659e62a74d2f4abe17c7a0dec77ffd3b9f123.zip
twice termination delay only after SIGALRM, otherwise many separate SIGCHLD
and SIGIO signals quickly increase delay to the level when SIGKILL is sent
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r--src/os/unix/ngx_process.c1
1 files changed, 1 insertions, 0 deletions
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: