From 5233046241ee7270ddb481d63fbed14a55cb66ab Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sun, 3 Jun 2012 04:06:32 +0000 Subject: Make woodpecker spotting more usable by adjusting count every 2 minutes --- ot_clean.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ot_clean.c') diff --git a/ot_clean.c b/ot_clean.c index 6024c08..4c03416 100644 --- a/ot_clean.c +++ b/ot_clean.c @@ -16,6 +16,7 @@ #include "ot_mutex.h" #include "ot_vector.h" #include "ot_clean.h" +#include "ot_stats.h" /* Returns amount of removed peers */ static ssize_t clean_single_bucket( ot_peer *peers, size_t peer_count, time_t timedout, int *removed_seeders ) { @@ -121,6 +122,7 @@ static void * clean_worker( void * args ) { return NULL; usleep( OT_CLEAN_SLEEP ); } + stats_cleanup(); } return NULL; } -- cgit v1.2.3