From b19bbd6a850ecd51180dfea6e025a032fb2f1fe1 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 27 Oct 2007 14:06:07 +0000 Subject: 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. --- opentracker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opentracker.c') 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 ) { for( c = data+4; *c == '/'; ++c); switch( scan_urlencoded_query( &c, data = c, SCAN_PATH ) ) { - +#ifdef WANT_TRACKER_SYNC /****************************** * S Y N C * ******************************/ @@ -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] ); reply_size = 2; break; +#endif /****************************** * S T A T S * ******************************/ -- cgit v1.2.3