From: Nickolai Zeldovich Date: Sun, 21 Apr 2002 05:38:25 +0000 (+0000) Subject: Use AFS_RXDEADTIME instead of hardcoding a value of 50 X-Git-Tag: openafs-stable-1_2_4~50 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1b7c73cfc76f4b438be9b6c29f76a9fbda7e26df;p=packages%2Fo%2Fopenafs.git Use AFS_RXDEADTIME instead of hardcoding a value of 50 (cherry picked from commit cfba7e00684a1f45f82285bcbadbc4571ab294d2) --- diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index 142fe8d09..e143170ff 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -304,7 +304,7 @@ static void CheckVLServer(sa, areq) #ifdef RX_ENABLE_LOCKS AFS_GLOCK(); #endif /* RX_ENABLE_LOCKS */ - 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 @@ -639,7 +639,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);