-
-
Save searchwpgists/e67d8b6b1ab8f9c172caf564d22fd677 to your computer and use it in GitHub Desktop.
Reduce SearchWP's batch size for token generation
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 | |
// Reduce SearchWP's batch size for token generation. | |
add_filter( 'searchwp\index\tokens_max', function( $limit ) { | |
return 200; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment