From 2f916a972139be74d437e40bdc7d236401123170 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 13 Mar 2010 18:08:07 +0000 Subject: *) use previously cached GMT offset value to update time from a signal handler *) change ngx_time_update() interface since there are no notification methods those return time --- src/os/unix/ngx_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 0d08349ee..4c418000a 100644 --- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -317,7 +317,7 @@ ngx_signal_handler(int signo) } } - ngx_time_update(0, 0); + ngx_time_update(1); action = ""; -- cgit v1.2.3