10 seconds for update cron
This commit is contained in:
parent
36c4b6334b
commit
2f255ad52e
|
@ -69,7 +69,7 @@ class WC_Background_Updater extends WP_Background_Process {
|
|||
*/
|
||||
protected function schedule_event() {
|
||||
if ( ! wp_next_scheduled( $this->cron_hook_identifier ) ) {
|
||||
wp_schedule_event( time() + 30, $this->cron_interval_identifier, $this->cron_hook_identifier );
|
||||
wp_schedule_event( time() + 10, $this->cron_interval_identifier, $this->cron_hook_identifier );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue