mirror of https://github.com/zulip/zulip.git
Change Humbug => Zulip in name of error limiter module.
(imported from commit 55c5deba463faecc50da22e9745fd13ad8b11fd8)
This commit is contained in:
parent
6083ad7244
commit
d63a398716
|
@ -472,8 +472,8 @@ LOGGING = {
|
|||
}
|
||||
},
|
||||
'filters': {
|
||||
'HumbugLimiter': {
|
||||
'()': 'zerver.lib.logging_util.HumbugLimiter',
|
||||
'ZulipLimiter': {
|
||||
'()': 'zerver.lib.logging_util.ZulipLimiter',
|
||||
},
|
||||
'EmailLimiter': {
|
||||
'()': 'zerver.lib.logging_util.EmailLimiter',
|
||||
|
@ -493,7 +493,7 @@ LOGGING = {
|
|||
'level': 'ERROR',
|
||||
'class': 'zerver.handlers.AdminZulipHandler',
|
||||
# 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'
|
||||
},
|
||||
'console': {
|
||||
|
|
|
@ -34,7 +34,7 @@ class _RateLimitFilter(object):
|
|||
|
||||
return not duplicate
|
||||
|
||||
class HumbugLimiter(_RateLimitFilter):
|
||||
class ZulipLimiter(_RateLimitFilter):
|
||||
pass
|
||||
|
||||
class EmailLimiter(_RateLimitFilter):
|
||||
|
|
Loading…
Reference in New Issue