Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Feb 27, 2024
2 parents 0ef3a8e + f21315c commit 2fc6d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/spbc-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -5099,8 +5099,8 @@ function spbc__send_local_settings_to_api($settings)
function spbc_cdn_checker__run_check_on_settings_change($settings)
{
if ( isset($settings['secfw__get_ip__enable_cdn_auto_self_check']) && $settings['secfw__get_ip__enable_cdn_auto_self_check'] != 0) {
CDNHeadersChecker::sendCDNCheckerRequest();
SpbcCron::updateTask('cdn_check', 'spbc_cdn_checker__send_request', 86400, time() + 86400);
//CDNHeadersChecker::sendCDNCheckerRequest();
SpbcCron::updateTask('cdn_check', 'spbc_cdn_checker__send_request', 86400, time() + 60);
}
}

Expand Down

0 comments on commit 2fc6d92

Please sign in to comment.