nfs4: Renew ClientId less often
This commit is contained in:
@@ -68,6 +68,7 @@ NFS4Server::IncUsage()
|
||||
fUseCount++;
|
||||
if (fThreadCancel)
|
||||
_StartRenewing();
|
||||
fClientIdLastUse = time(NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +76,7 @@ inline void
|
||||
NFS4Server::DecUsage()
|
||||
{
|
||||
MutexLocker _(fFSLock);
|
||||
fClientIdLastUse = time(NULL);
|
||||
fUseCount--;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user