[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9259: be slightly less eager to yell at a server for being unreach (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9259: be slightly less eager to yell at a server for being unreach (tor/trunk/src/or)
- From: arma@xxxxxxxx
- Date: Wed, 3 Jan 2007 18:58:04 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 03 Jan 2007 18:58:11 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: arma
Date: 2007-01-03 18:58:03 -0500 (Wed, 03 Jan 2007)
New Revision: 9259
Modified:
tor/trunk/src/or/dirserv.c
Log:
be slightly less eager to yell at a server for being unreachable
Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c 2007-01-03 23:57:51 UTC (rev 9258)
+++ tor/trunk/src/or/dirserv.c 2007-01-03 23:58:03 UTC (rev 9259)
@@ -736,9 +736,9 @@
{
if (router->is_hibernating)
return 0;
- if (now >= router->last_reachable + 4*REACHABLE_TIMEOUT &&
+ if (now >= router->last_reachable + 5*REACHABLE_TIMEOUT &&
router->testing_since &&
- now >= router->testing_since + 4*REACHABLE_TIMEOUT)
+ now >= router->testing_since + 5*REACHABLE_TIMEOUT)
return 1;
return 0;
}