Restrict search when the server load is high
This modification is in the archives.
From experience searches on large forums can slow the server down a lot.
Here's a dead simple hack that lets you disable searches when the load average reaches a defined level. Moderators are exempt from the search ban. There's are just two changes to be made: in search.php find: PHP Code:
if (!$vboptions['enablesearches'])
PHP Code:
// automatically block search requests when the server is busy
You may also wish to change the searchdisabled phrase to something like:
Download No files for download. |
Similar Mods
Restrict search when the server load is high | vBulletin 3.5 Add-ons |
Close Search during high server load | vBulletin 3.5 Add-ons |