mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
deprecated updateClientSyncTS() which is not needed anymore
This commit is contained in:
parent
f9c902dd37
commit
b5f6059485
2 changed files with 6 additions and 0 deletions
|
@ -1666,7 +1666,9 @@ void RsGxsNetService::data_tick()
|
|||
if(mUpdateCounter >= 120) // 60 seconds
|
||||
{
|
||||
updateServerSyncTS();
|
||||
#ifdef TO_REMOVE
|
||||
updateClientSyncTS();
|
||||
#endif
|
||||
mUpdateCounter = 1;
|
||||
}
|
||||
else
|
||||
|
@ -1724,6 +1726,7 @@ void RsGxsNetService::debugDump()
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef TO_REMOVE
|
||||
// This method is normally not needed, but we use it to correct possible inconsistencies in the updte time stamps
|
||||
// on the client side.
|
||||
|
||||
|
@ -1761,6 +1764,7 @@ void RsGxsNetService::updateClientSyncTS()
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void RsGxsNetService::updateServerSyncTS()
|
||||
{
|
||||
|
|
|
@ -378,7 +378,9 @@ private:
|
|||
void locked_doMsgUpdateWork(const RsNxsTransac* nxsTrans, const RsGxsGroupId& grpId);
|
||||
|
||||
void updateServerSyncTS();
|
||||
#ifdef TO_REMOVE
|
||||
void updateClientSyncTS();
|
||||
#endif
|
||||
|
||||
bool locked_CanReceiveUpdate(const RsNxsSyncGrp* item);
|
||||
bool locked_CanReceiveUpdate(const RsNxsSyncMsg* item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue