summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-10-27 14:06:07 +0000
committererdgeist <>2007-10-27 14:06:07 +0000
commitb19bbd6a850ecd51180dfea6e025a032fb2f1fe1 (patch)
tree84b17f4b10344fcb7addf653c8fdc10a4980fdb5 /opentracker.c
parent72c72bb3a18655925b6a6d3d1df5af3600da3b58 (diff)
Number of buckets is 1024 now
Clean all torrents now only cleans one bucket at a time All torrents that are being worked upon in an announce are being cleaned on demoand torrent's peer lists now keep extra counts for seeds and peers to speed up scrape and announce Sync has gone for now. I will think up a new way to implement. The old one was way to slow.
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index cfa051a..d9336da 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -243,7 +243,7 @@ static void httpresponse( const int64 s, char *data, size_t l ) {
243 for( c = data+4; *c == '/'; ++c); 243 for( c = data+4; *c == '/'; ++c);
244 244
245 switch( scan_urlencoded_query( &c, data = c, SCAN_PATH ) ) { 245 switch( scan_urlencoded_query( &c, data = c, SCAN_PATH ) ) {
246 246#ifdef WANT_TRACKER_SYNC
247/****************************** 247/******************************
248 * S Y N C * 248 * S Y N C *
249 ******************************/ 249 ******************************/
@@ -286,6 +286,7 @@ LOG_TO_STDERR( "sync: %d.%d.%d.%d\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
286 reply_size = 2; 286 reply_size = 2;
287 287
288 break; 288 break;
289#endif
289/****************************** 290/******************************
290 * S T A T S * 291 * S T A T S *
291 ******************************/ 292 ******************************/