mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-13 18:12:03 +08:00
reduce maintainance time to remove zombie processes sooner.
This commit is contained in:
+1
-1
@@ -699,7 +699,7 @@ fail:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MAINTAINANCE_TIME(s) ((s)->config->cookie_validity + 300)
|
#define MAINTAINANCE_TIME(s) (MIN((60 + MAX_ZOMBIE_SECS), ((s)->config->cookie_validity + 300)))
|
||||||
|
|
||||||
static void check_other_work(main_server_st *s)
|
static void check_other_work(main_server_st *s)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user