Skip to content

Commit 812ed5c

Browse files
Merge pull request #1168 from Codeinwp/fix/schedule-hook-10-minutes
chore: notes on chart schedule
2 parents cb073a3 + 8413118 commit 812ed5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

classes/Visualizer/Module/Setup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,12 @@ public function refresh_db_for_chart( $chart, $chart_id, $force = false ) {
392392
}
393393

394394
/**
395-
* Refresh the db chart.
395+
* Refresh the Database chart type.
396396
*
397397
* @access public
398398
*/
399399
public function refreshDbChart() {
400+
// NOTE: This use a different key from normal schedule. Updated only by Database chart. Check `visualizer_schedule_import` action.
400401
$chart_schedules = get_option( Visualizer_Plugin::CF_DB_SCHEDULE, array() );
401402
if ( ! $chart_schedules ) {
402403
return;

0 commit comments

Comments
 (0)