X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Ffilenet.c;h=d94d3e5c9c2cc43172871e204e7204e0c3a95095;hb=d9f89ef5daa6375fc4ff257826fa39562fbe3ac3;hp=be6c5affb86292b58eaa592381ebe4967e938ad9;hpb=038be21c8d00e1d2de2a84e1663714a38ef6d60b;p=doldaconnect.git diff --git a/daemon/filenet.c b/daemon/filenet.c index be6c5af..d94d3e5 100644 --- a/daemon/filenet.c +++ b/daemon/filenet.c @@ -502,9 +502,25 @@ void fnethandlechat(struct fnetnode *fn, int public, wchar_t *name, wchar_t *pee static struct configvar myvars[] = { + /** The number of seconds to wait between searches. Most hubs + * require at least ten seconds, and quite often network lag will + * often make searches arrive to the hub more often than sent. It + * may be semi-dangerous to specify too low a value, since hubs + * will often kick users that search too often (even when the + * reason is network lag -- there is no way for the hub to know + * this), but it is quite annoying to set too high a value. 15 to + * 40 seconds are the recommended range (although the default is + * 15 seconds, it is recommended to set to 30 seconds). */ {CONF_VAR_INT, "srchwait", {.num = 15}}, + /** The TOS value to use for hub connections (see the TOS VALUES + * section). */ {CONF_VAR_INT, "fntos", {.num = 0}}, + /** The TOS value to use for peer connections (see the TOS VALUES + * section). */ {CONF_VAR_INT, "fnptos", {.num = 0}}, + /** Specifies a maximum number of simultaneously connected + * hubs. Attempts to connect to new hubs beyond this limit will + * return an error. Set to zero to remove the limit. */ {CONF_VAR_INT, "maxnodes", {.num = 0}}, {CONF_VAR_END} };