diff options
author | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-03-16 16:26:13 +0000 |
---|---|---|
committer | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2005-03-16 16:26:13 +0000 |
commit | 140221e046747f44c57c51e0867cce621f3b238d (patch) | |
tree | 5a84263b9f393422ca19d34eb2230a9362f98892 | |
parent | ca4530e2c8135d00204d33ad9fc77f941b21adcf (diff) | |
download | lighttpd-post-upload-cleanup.tar.gz |
finish the disable_time patchpost-upload-cleanup
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/post-upload-cleanup@166 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | src/mod_fastcgi.c | 2 | ||||
-rw-r--r-- | src/settings.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mod_fastcgi.c b/src/mod_fastcgi.c index 995874ac..747a6248 100644 --- a/src/mod_fastcgi.c +++ b/src/mod_fastcgi.c @@ -2328,7 +2328,7 @@ static int fcgi_restart_dead_procs(server *srv, plugin_data *p, fcgi_extension_h */ if ((proc->state == PROC_STATE_DISABLED) && - (srv->cur_ts - proc->disable_ts > FCGI_RETRY_TIMEOUT)) { + (srv->cur_ts - proc->disable_ts > host->disable_time)) { proc->state = PROC_STATE_RUNNING; host->active_procs++; diff --git a/src/settings.h b/src/settings.h index 959edcc9..f0c63546 100644 --- a/src/settings.h +++ b/src/settings.h @@ -6,8 +6,6 @@ #define INET_NTOP_CACHE_MAX 4 #define FILE_CACHE_MAX 16 -#define FCGI_RETRY_TIMEOUT (5 * 60) - /** * max size of a buffer which will just be reset * to ->used = 0 instead of really freeing the buffer |