Created
January 22, 2015 01:02
-
-
Save jchristopher/dc03e1030028c6c2579e to your computer and use it in GitHub Desktop.
Modify the maximum server load SearchWP considers acceptable (Linux only)
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 | |
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