summaryrefslogtreecommitdiff
path: root/modules/throttle/throttle.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/throttle/throttle.module')
-rw-r--r--modules/throttle/throttle.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module
index a23614210..61ab73e5b 100644
--- a/modules/throttle/throttle.module
+++ b/modules/throttle/throttle.module
@@ -153,6 +153,8 @@ function throttle_admin_settings() {
'#description' => t('The auto-throttle probability limiter is an efficiency mechanism to statistically reduce the overhead of the auto-throttle. The limiter is expressed as a percentage of page views, so for example if set to the default of 10% we only perform the extra database queries to update the throttle status 1 out of every 10 page views. The busier your site, the lower you should set the limiter value.')
);
+ $form['#validate'] = array('throttle_admin_settings_validate');
+
return system_settings_form($form);
}