Skip to content

Commit

Permalink
Merge pull request #1168 from Codeinwp/fix/schedule-hook-10-minutes
Browse files Browse the repository at this point in the history
chore: notes on chart schedule
  • Loading branch information
vytisbulkevicius authored Jul 9, 2024
2 parents cb073a3 + 8413118 commit 812ed5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/Visualizer/Module/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,12 @@ public function refresh_db_for_chart( $chart, $chart_id, $force = false ) {
}

/**
* Refresh the db chart.
* Refresh the Database chart type.
*
* @access public
*/
public function refreshDbChart() {
// NOTE: This use a different key from normal schedule. Updated only by Database chart. Check `visualizer_schedule_import` action.
$chart_schedules = get_option( Visualizer_Plugin::CF_DB_SCHEDULE, array() );
if ( ! $chart_schedules ) {
return;
Expand Down

0 comments on commit 812ed5c

Please sign in to comment.