QA: More testing on #5178 after confirming sub-functions

This commit is contained in:
TheWitness committed 2023-04-17 19:38:57 -04:00
1 parent d0ca7152b9
commit 11f395215b
1 file changed
+4 -2
+4 -2
View File
@@ -254,8 +254,10 @@ function dsstats_master_handler($forcerun) {
/* handle partition creation and pruning before we start */
if (read_config_option('dsstats_gdg_enable') == 'on') {
dsstats_create_partitions($last_major_time, $current_time);
dsstats_remove_old_partitions($current_time);
if (date('z', $last_major_time) != date('z', $current_time)) {
dsstats_create_partitions($last_major_time, $current_time);
dsstats_remove_old_partitions($current_time);
}
}
if ($boost_active == 'on') {