Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce filter ep_enable_query_integration_during_indexing #3445

Conversation

rebeccahum
Copy link
Contributor

@rebeccahum rebeccahum commented Apr 14, 2023

Description of the Change

Some users would rather have the option to have queries offloaded while a full indexing is occurring. This filter allows that, but behavior defaults to disabling query offloading during full indexing.

How to test the Change

  1. Kick off a full reindexing
  2. Add add_filter( 'ep_enable_query_integration_during_indexing', '__return_true' )
  3. Ensure queries are still being offloaded

Changelog Entry

Added - New filter ep_enable_query_integration_during_indexing

Credits

Props @rebeccahum

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@rebeccahum rebeccahum force-pushed the add/ep_allow_query_integration_during_indexing branch 2 times, most recently from b99dbac to e00ff15 Compare April 14, 2023 15:30
@rebeccahum rebeccahum changed the title Introduce filter ep_allow_query_integration_during_indexing Introduce filter ep_enable_query_integration_during_indexing Apr 14, 2023
@rebeccahum rebeccahum force-pushed the add/ep_allow_query_integration_during_indexing branch from 44c8830 to 4242577 Compare April 14, 2023 15:45
@felipeelia felipeelia added this to the 4.5.2 milestone Apr 17, 2023
@felipeelia felipeelia merged commit 79f8fbc into 10up:develop Apr 17, 2023
@rebeccahum rebeccahum deleted the add/ep_allow_query_integration_during_indexing branch April 17, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants