mirror of
git://erdgeist.org/opentracker
synced 2025-04-13 00:21:14 +08:00
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
This commit is contained in:
parent
f697fa3dda
commit
ae1863f232
@ -788,6 +788,9 @@ static void server_mainloop( ) {
|
|||||||
ot_last_clean_time = NOW;
|
ot_last_clean_time = NOW;
|
||||||
clean_all_torrents();
|
clean_all_torrents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Enforce setting the clock */
|
||||||
|
signal_handler( SIGALRM );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user