mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -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
|
if(mUpdateCounter >= 120) // 60 seconds
|
||||||
{
|
{
|
||||||
updateServerSyncTS();
|
updateServerSyncTS();
|
||||||
|
#ifdef TO_REMOVE
|
||||||
updateClientSyncTS();
|
updateClientSyncTS();
|
||||||
|
#endif
|
||||||
mUpdateCounter = 1;
|
mUpdateCounter = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1724,6 +1726,7 @@ void RsGxsNetService::debugDump()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TO_REMOVE
|
||||||
// This method is normally not needed, but we use it to correct possible inconsistencies in the updte time stamps
|
// This method is normally not needed, but we use it to correct possible inconsistencies in the updte time stamps
|
||||||
// on the client side.
|
// on the client side.
|
||||||
|
|
||||||
|
@ -1761,6 +1764,7 @@ void RsGxsNetService::updateClientSyncTS()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void RsGxsNetService::updateServerSyncTS()
|
void RsGxsNetService::updateServerSyncTS()
|
||||||
{
|
{
|
||||||
|
|
|
@ -378,7 +378,9 @@ private:
|
||||||
void locked_doMsgUpdateWork(const RsNxsTransac* nxsTrans, const RsGxsGroupId& grpId);
|
void locked_doMsgUpdateWork(const RsNxsTransac* nxsTrans, const RsGxsGroupId& grpId);
|
||||||
|
|
||||||
void updateServerSyncTS();
|
void updateServerSyncTS();
|
||||||
|
#ifdef TO_REMOVE
|
||||||
void updateClientSyncTS();
|
void updateClientSyncTS();
|
||||||
|
#endif
|
||||||
|
|
||||||
bool locked_CanReceiveUpdate(const RsNxsSyncGrp* item);
|
bool locked_CanReceiveUpdate(const RsNxsSyncGrp* item);
|
||||||
bool locked_CanReceiveUpdate(const RsNxsSyncMsg* item);
|
bool locked_CanReceiveUpdate(const RsNxsSyncMsg* item);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue