Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Last active March 23, 2020 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/eb9c807c721d5b2ebd00065bb944cbbe to your computer and use it in GitHub Desktop.
Save jchristopher/eb9c807c721d5b2ebd00065bb944cbbe to your computer and use it in GitHub Desktop.
Reduce SearchWP's batch size for token generation
<?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