summaryrefslogtreecommitdiff
path: root/modules/throttle.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/throttle.module')
-rw-r--r--modules/throttle.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/throttle.module b/modules/throttle.module
index 979c667e6..f84184ae8 100644
--- a/modules/throttle.module
+++ b/modules/throttle.module
@@ -87,7 +87,7 @@ function throttle_help() {
/* Adds configure option to the main configure site admin page */
-function throttle_conf_options() {
+function throttle_settings() {
/* access log options */
$output .= form_select(t("Enable auto-throttle"), "statistics_enable_auto_throttle", variable_get("statistics_enable_auto_throttle", 0), array("1" => t("enabled"), "0" => t("disabled")), "Enable auto-throttling congestion control mechanism. Allows your site to adapt under extreme user loads. Requires that 'access log' be enabled.");
$throttles = array(1 => "1 (0,1,2,3,4,5)", 5 => "5 (0,5,10,15,20,25)", 10 => "10 (0,10,20,30,40,50)", 12 => "12 (0,12,24,36,48,60)", 15 => "15 (0,15,30,45,60,75)", 20 => "20 (0,20,40,60,80,100)", 30 => "30 (0,30,60,90,120,150)", 50 => "50 (0,50,100,150,200,250)", 60 => "60 (0,60,120,180,240,300)", 100 => "100 (0,100,200,300,400,500", 500 => "500 (0,500,1000,1500,2000,2500", 1000 => "1000 (0,1000,2000,3000,4000,5000)");