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:
pjd 2011-04-02 09:34:33 +00:00
parent 6a5b532558
commit 005ff1d986
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"