Change Humbug => Zulip in name of error limiter module.

(imported from commit 55c5deba463faecc50da22e9745fd13ad8b11fd8)
This commit is contained in:
Tim Abbott 2013-08-06 15:37:34 -04:00
parent 6083ad7244
commit d63a398716
2 changed files with 4 additions and 4 deletions

View File

@ -472,8 +472,8 @@ LOGGING = {
} }
}, },
'filters': { 'filters': {
'HumbugLimiter': { 'ZulipLimiter': {
'()': 'zerver.lib.logging_util.HumbugLimiter', '()': 'zerver.lib.logging_util.ZulipLimiter',
}, },
'EmailLimiter': { 'EmailLimiter': {
'()': 'zerver.lib.logging_util.EmailLimiter', '()': 'zerver.lib.logging_util.EmailLimiter',
@ -493,7 +493,7 @@ LOGGING = {
'level': 'ERROR', 'level': 'ERROR',
'class': 'zerver.handlers.AdminZulipHandler', 'class': 'zerver.handlers.AdminZulipHandler',
# For testing the handler delete the next line # For testing the handler delete the next line
'filters': ['HumbugLimiter', 'require_debug_false', 'require_really_deployed'], 'filters': ['ZulipLimiter', 'require_debug_false', 'require_really_deployed'],
'formatter': 'default' 'formatter': 'default'
}, },
'console': { 'console': {

View File

@ -34,7 +34,7 @@ class _RateLimitFilter(object):
return not duplicate return not duplicate
class HumbugLimiter(_RateLimitFilter): class ZulipLimiter(_RateLimitFilter):
pass pass
class EmailLimiter(_RateLimitFilter): class EmailLimiter(_RateLimitFilter):