diff options
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 7d9c2e1..5a40055 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -36,6 +36,10 @@ typedef struct { ot_ip6 address; int bits; } | |||
36 | 36 | ||
37 | #define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) ) | 37 | #define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) ) |
38 | 38 | ||
39 | /* If WANT_MODEST_FULLSCRAPES is on, ip addresses may not | ||
40 | fullscrape more frequently than this amount in seconds */ | ||
41 | #define OT_MODEST_PEER_TIMEOUT (60*5) | ||
42 | |||
39 | /* If peers come back before 10 minutes, don't live sync them */ | 43 | /* If peers come back before 10 minutes, don't live sync them */ |
40 | #define OT_CLIENT_SYNC_RENEW_BOUNDARY 10 | 44 | #define OT_CLIENT_SYNC_RENEW_BOUNDARY 10 |
41 | 45 | ||