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