mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
move the 'time jump' warning back to a higher threshold.
this still occurs on moria sometimes if it's swapping to death. so be it. svn:r8725
This commit is contained in:
+1
-2
@@ -1014,8 +1014,7 @@ second_elapsed_callback(int fd, short event, void *args)
|
||||
|
||||
/** If more than this many seconds have elapsed, probably the clock
|
||||
* jumped: doesn't count. */
|
||||
#define NUM_JUMPED_SECONDS_BEFORE_WARN 10
|
||||
/* This used to be 100, but I cranked it down for Mike Chiussi -RD */
|
||||
#define NUM_JUMPED_SECONDS_BEFORE_WARN 100
|
||||
if (seconds_elapsed < NUM_JUMPED_SECONDS_BEFORE_WARN)
|
||||
stats_n_seconds_working += seconds_elapsed;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user