Crons every 1 second
-
Thank you for the awesome plugin!
One thing though, implementing this plugin, while debugging the background jobs list I noticed you schedule custom events each 1 second? and what’s crazy is the actions hooked to these events query the database..
In
admin/class-uci-admin.php:467:public static function cron_schedules( $schedules ) { return array( 'wp_ultimate_csv_importer_scheduled_images' => array( 'interval' => 1, 'display' => __('Schedule images on every second', SM_UCI_SLUG) ), 'wp_ultimate_csv_importer_scheduled_emails' => array( 'interval' => 1, 'display' => __('Schedule emails on every second', SM_UCI_SLUG) ), ); }I am only saying this is a bad performance practice and the events might fail given that each one runs before the other completes..
Hope I am wrong.
Thank you.
Best,
Samuel
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Crons every 1 second’ is closed to new replies.