summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index c2d071a..0b73d5e 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -26,6 +26,9 @@ typedef time_t ot_time;
26 26
27#define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) ) 27#define OT_CLIENT_REQUEST_INTERVAL_RANDOM ( OT_CLIENT_REQUEST_INTERVAL - OT_CLIENT_REQUEST_VARIATION/2 + (int)( random( ) % OT_CLIENT_REQUEST_VARIATION ) )
28 28
29/* If peers come back before 10 minutes, don't live sync them */
30#define OT_CLIENT_SYNC_RENEW_BOUNDARY 10
31
29/* We maintain a list of 1024 pointers to sorted list of ot_torrent structs 32/* We maintain a list of 1024 pointers to sorted list of ot_torrent structs
30 Sort key is, of course, its hash */ 33 Sort key is, of course, its hash */
31#define OT_BUCKET_COUNT 1024 34#define OT_BUCKET_COUNT 1024