mirror of
git://erdgeist.org/opentracker
synced 2025-04-22 05:52:00 +02: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue