Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
parent
b26f91152d
commit
4e00938ee2
|
@ -788,6 +788,9 @@ static void server_mainloop( ) {
|
|||
ot_last_clean_time = NOW;
|
||||
clean_all_torrents();
|
||||
}
|
||||
|
||||
/* Enforce setting the clock */
|
||||
signal_handler( SIGALRM );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue