mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed up constants for reputation system, now that is has been tested
This commit is contained in:
parent
e6bb3073bd
commit
f18cc8295e
@ -131,6 +131,9 @@ static const int kMaximumPeerAge = 180; // half a
|
|||||||
static const int kMaximumSetSize = 100; // max set of updates to send at once.
|
static const int kMaximumSetSize = 100; // max set of updates to send at once.
|
||||||
static const int ACTIVE_FRIENDS_UPDATE_PERIOD = 600 ; // 10 minutes
|
static const int ACTIVE_FRIENDS_UPDATE_PERIOD = 600 ; // 10 minutes
|
||||||
static const int ACTIVE_FRIENDS_ONLINE_DELAY = 86400*7 ; // 1 week.
|
static const int ACTIVE_FRIENDS_ONLINE_DELAY = 86400*7 ; // 1 week.
|
||||||
|
static const int kReputationRequestPeriod = 600; // 10 mins
|
||||||
|
static const int kReputationStoreWait = 180; // 3 minutes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
p3GxsReputation::p3GxsReputation(p3LinkMgr *lm)
|
p3GxsReputation::p3GxsReputation(p3LinkMgr *lm)
|
||||||
@ -787,9 +790,6 @@ bool p3GxsReputation::loadReputationSet(RsGxsReputationSetItem *item, const std:
|
|||||||
* Send Requests.
|
* Send Requests.
|
||||||
****/
|
****/
|
||||||
|
|
||||||
const int kReputationRequestPeriod = 60; // 3600; // 1 hour
|
|
||||||
const int kReputationStoreWait = 180; // 3 minutes.
|
|
||||||
|
|
||||||
int p3GxsReputation::sendPackets()
|
int p3GxsReputation::sendPackets()
|
||||||
{
|
{
|
||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user