Created
March 26, 2020 16:47
-
-
Save jchristopher/2cd2c1c8c7b9f2634354f4c0217c34d1 to your computer and use it in GitHub Desktop.
Increase SearchWP's indexer batch size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Increase SearchWP's indexer batch size (default is 50). | |
add_filter( 'searchwp\indexer\batch_size', function( $size ) { | |
return 100; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment