mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-23 03:27:02 +09:00
QA: More testing on #5178 after confirming sub-functions
This commit is contained in:
1 parent
d0ca7152b9
commit
11f395215b
1 file changed
+4
-2
+4
-2
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user