Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 22, 2015 01:02
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/dc03e1030028c6c2579e to your computer and use it in GitHub Desktop.
Save jchristopher/dc03e1030028c6c2579e to your computer and use it in GitHub Desktop.
Modify the maximum server load SearchWP considers acceptable (Linux only)
<?php
function my_searchwp_load_maximum( $load_threshold ) {
return 3; // allow the server load to reach 3.00
}
add_filter( 'searchwp_load_maximum', 'my_searchwp_load_maximum' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment