From: Nickolai Zeldovich Date: Thu, 28 Feb 2002 06:34:15 +0000 (+0000) Subject: Use AFS_RXDEADTIME instead of hardcoding a value of 50 X-Git-Tag: openafs-devel_1_3_3~205 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cfba7e00684a1f45f82285bcbadbc4571ab294d2;p=packages%2Fo%2Fopenafs.git Use AFS_RXDEADTIME instead of hardcoding a value of 50 --- diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index 3acb5f652..5c3b48e0f 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);