mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'tor-gitlab/mr/182' into master
This commit is contained in:
@@ -1937,7 +1937,11 @@ write_stats_file_callback(time_t now, const or_options_t *options)
|
||||
next_time_to_write_stats_files = next_write;
|
||||
}
|
||||
if (options->HiddenServiceStatistics) {
|
||||
time_t next_write = rep_hist_hs_stats_write(now);
|
||||
time_t next_write = rep_hist_hs_stats_write(now, false);
|
||||
if (next_write && next_write < next_time_to_write_stats_files)
|
||||
next_time_to_write_stats_files = next_write;
|
||||
|
||||
next_write = rep_hist_hs_stats_write(now, true);
|
||||
if (next_write && next_write < next_time_to_write_stats_files)
|
||||
next_time_to_write_stats_files = next_write;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user