alleyinteractive / searchpress

Elasticsearch integration for WordPress.
84 stars 12 forks source link

Hotfix: Disable APC found_posts filters while running cron #109

Closed kevinfodness closed 5 years ago

kevinfodness commented 5 years ago

Under certain circumstances, the Advanced Post Cache filters for found_posts can return the incorrect number of found posts for the Searchpress index query, causing it to prematurely abort. This PR unhooks the APC found_posts filters while cron is running an indexing operation.

kevinfodness commented 5 years ago

@mboynes this is ready for another look.