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': {
|
'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': {
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue