From ae1863f232c2a2e741f88e8d946103052cd0583a Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 29 Nov 2007 15:43:30 +0000 Subject: [PATCH] Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore. --- opentracker.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opentracker.c b/opentracker.c index 1532214..46f3beb 100644 --- a/opentracker.c +++ b/opentracker.c @@ -788,6 +788,9 @@ static void server_mainloop( ) { ot_last_clean_time = NOW; clean_all_torrents(); } + + /* Enforce setting the clock */ + signal_handler( SIGALRM ); } }