Running Long Sync Query on Every Page Load
-
We are only using the plugin to have Square do the payment processing, but this REALLY LONG (6.15 second) SQL query is running with every page load:
SELECT option_value
FROM wp_options
WHERE option_name LIKE ‘wc_square_background_sync_job_%’
AND ( option_value LIKE ‘%\”status\”:\”queued\”%’
OR option_value LIKE ‘%\”status\”:\”processing\”%’ )
ORDER BY option_id ASC
LIMIT 1The query is being called by: WooCommerce\S\F\U\Background_Job_Handler->get_job()
We have product sync disabled of course.
No background sync job should be called at any point, and only the payment code called during checkout.
The page I need help with: [log in to see the link]
The topic ‘Running Long Sync Query on Every Page Load’ is closed to new replies.