10 seconds for update cron

This commit is contained in:
Mike Jolley 2016-06-16 15:28:53 +01:00
parent 36c4b6334b
commit 2f255ad52e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}