1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Increase default timeout from 5 seconds to 20 seconds. 5 seconds is definitely

to short under heavy load and I was experiencing those timeouts in my recent
tests.

MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2011-04-02 09:34:33 +00:00
parent 41bb85146b
commit 39526f7fb6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220274
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd March 20, 2011
.Dd April 2, 2011
.Dt HAST.CONF 5
.Os
.Sh NAME
@ -241,7 +241,7 @@ LZF is very fast, general purpose compression algorithm.
.Pp
Connection timeout in seconds.
The default value is
.Va 5 .
.Va 20 .
.It Ic exec Aq path
.Pp
Execute the given program on various HAST events.

View File

@ -83,7 +83,7 @@
#define HIO_KEEPALIVE 5
#define HAST_USER "hast"
#define HAST_TIMEOUT 5
#define HAST_TIMEOUT 20
#define HAST_CONFIG "/etc/hast.conf"
#define HAST_CONTROL "/var/run/hastctl"
#define HASTD_LISTEN "tcp4://0.0.0.0:8457"