-
-
Save searchwpgists/2423c349df6b4888d0f32855c91a3bcf 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 25). | |
add_filter( 'searchwp\indexer\batch_size', function( $size ) { | |
return 50; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment