From cfba7e00684a1f45f82285bcbadbc4571ab294d2 Mon Sep 17 00:00:00 2001 From: Nickolai Zeldovich Date: Thu, 28 Feb 2002 06:34:15 +0000 Subject: [PATCH] Use AFS_RXDEADTIME instead of hardcoding a value of 50 --- src/afs/afs_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index 3acb5f6..5c3b48e 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -300,7 +300,7 @@ static void CheckVLServer(sa, areq) RX_AFS_GUNLOCK(); code = VL_ProbeServer(tc->id); RX_AFS_GLOCK(); - rx_SetConnDeadTime(tc->id, 50); + rx_SetConnDeadTime(tc->id, AFS_RXDEADTIME); afs_PutConn(tc, SHARED_LOCK); /* * If probe worked, or probe call not yet defined (for compatibility @@ -631,7 +631,7 @@ void afs_CheckServers(adown, acellp) afs_setTimeHost = tc->srvr->server; } if (setTimer) - rx_SetConnDeadTime(tc->id, 50); + rx_SetConnDeadTime(tc->id, AFS_RXDEADTIME); if (code >= 0 && (sa->sa_flags & SRVADDR_ISDOWN) && (tc->srvr == sa)) { /* server back up */ print_internet_address("afs: file server ", sa, " is back up", 2); -- 1.9.4