summaryrefslogtreecommitdiff
path: root/modules/throttle
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-23 10:35:38 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-23 10:35:38 +0000
commit65b124bdf04387fc2ad63298ecbfdb7ef0d0c8d2 (patch)
tree2a817fc892464a7e3c042921b8be8df9f1ef6403 /modules/throttle
parent5b5f148ad482d235293f97a228f82f77299f3653 (diff)
downloadbrdo-65b124bdf04387fc2ad63298ecbfdb7ef0d0c8d2.tar.gz
brdo-65b124bdf04387fc2ad63298ecbfdb7ef0d0c8d2.tar.bz2
- Usability improvement: made the throttle message fit in the watchdog message.
Diffstat (limited to 'modules/throttle')
-rw-r--r--modules/throttle/throttle.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module
index dcf2e00d1..78ace23a2 100644
--- a/modules/throttle/throttle.module
+++ b/modules/throttle/throttle.module
@@ -171,11 +171,11 @@ function _throttle_update($hits) {
// log the change
if ($throttle_new < $throttle) {
variable_set('throttle_level', $throttle - 1);
- watchdog($type, "throttle: '$hits' hits in past minute; throttle decreased to level ". ($throttle - 1));
+ watchdog($type, "throttle: $hits hits in past minute; throttle decreased to level ". ($throttle - 1));
}
if ($throttle_new > $throttle) {
variable_set('throttle_level', $throttle + 1);
- watchdog($type, "throttle: '$hits' hits in past minute; throttle increased to level ". ($throttle + 1));
+ watchdog($type, "throttle: $hits hits in past minute; throttle increased to level ". ($throttle + 1));
}
}