mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 06:54:37 +00:00
MINOR: server: increase the default pool-purge-delay to 5 seconds
The default used to be a very aggressive delay of 1 second before starting to purge idle connections, but tests show that with bursty traffic it's a bit short. Let's increase this to 5 seconds.
This commit is contained in:
parent
a689c3d8d4
commit
fb55365f9e
@ -12311,7 +12311,7 @@ pool-max-conn <max>
|
||||
pool-purge-delay <delay>
|
||||
Sets the delay to start purging idle connections. Each <delay> interval, half
|
||||
of the idle connections are closed. 0 means we don't keep any idle connection.
|
||||
The default is 1s.
|
||||
The default is 5s.
|
||||
|
||||
port <port>
|
||||
Using the "port" parameter, it becomes possible to use a different port to
|
||||
|
@ -1811,7 +1811,7 @@ struct server *new_server(struct proxy *proxy)
|
||||
srv->agent.proxy = proxy;
|
||||
srv->xprt = srv->check.xprt = srv->agent.xprt = xprt_get(XPRT_RAW);
|
||||
|
||||
srv->pool_purge_delay = 1000;
|
||||
srv->pool_purge_delay = 5000;
|
||||
srv->max_idle_conns = -1;
|
||||
srv->max_reuse = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user