Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.

master
Dirk Engling 2007-11-29 15:43:30 +00:00
parent b26f91152d
commit 4e00938ee2
1 changed files with 3 additions and 0 deletions

View File

@ -788,6 +788,9 @@ static void server_mainloop( ) {
ot_last_clean_time = NOW;
clean_all_torrents();
}
/* Enforce setting the clock */
signal_handler( SIGALRM );
}
}