diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-25 18:12:15 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-25 18:12:15 +0000 |
commit | f3fad17adc058fa4b390883d549172f14b3ef6e0 (patch) | |
tree | 400b423fda25aca3d5b4a192092487717eafa30c /usr.sbin/relayd/relayd.conf.5 | |
parent | 6582d5889c3f67dc10b7321a3e8e5377ecb339eb (diff) |
partial rewrite of the check_* routines to use libevent everywhere
instead of nested select() calls and to handle the non-blocking
sockets properly.
From Pierre-Yves Ritschard (pyr at spootnik dot org)
(with a little help by me)
Diffstat (limited to 'usr.sbin/relayd/relayd.conf.5')
-rw-r--r-- | usr.sbin/relayd/relayd.conf.5 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5 index ea958d0d965..79e7746358e 100644 --- a/usr.sbin/relayd/relayd.conf.5 +++ b/usr.sbin/relayd/relayd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: relayd.conf.5,v 1.5 2006/12/19 14:39:30 jmc Exp $ +.\" $OpenBSD: relayd.conf.5,v 1.6 2006/12/25 18:12:14 reyk Exp $ .\" .\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> .\" @@ -68,10 +68,17 @@ table webhosts { } .Ed .Sh GLOBAL CONFIGURATION -Only one global setting can be set. +Here are the settings that can be set globally: .Pp .Bl -tag -width Ds -compact .It Xo +.Ic timeout Ar number +.Xc +Set the global timeout for checks. +This can be overriden by the timeout value in the table definitions +and is 200 milliseconds by default. +.Pp +.It Xo .Ic interval Ar number .Xc Set the interval in seconds at which the hosts will be checked. @@ -125,8 +132,9 @@ to hosts. This parameter is mandatory. Main and backup tables need to have the same real port. .It Ic timeout Ar number -Set the timeout in milliseconds for each host that is checked. -The default timeout is 200 milliseconds. +Set the timeout in milliseconds for each host that is checked using +TCP as the transport. +This will override the global timeout, which is 200 milliseconds by default. .El .Sh SERVICES Services represent a |