diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-23 10:35:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-23 10:35:38 +0000 |
commit | 65b124bdf04387fc2ad63298ecbfdb7ef0d0c8d2 (patch) | |
tree | 2a817fc892464a7e3c042921b8be8df9f1ef6403 /modules/throttle | |
parent | 5b5f148ad482d235293f97a228f82f77299f3653 (diff) | |
download | brdo-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.module | 4 |
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)); } } |