Relax chat rate limiter.
This commit is contained in:
parent
0d54fb7e7f
commit
16a8f0f2da
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ def chat(v):
|
||||||
|
|
||||||
|
|
||||||
@socketio.on('speak')
|
@socketio.on('speak')
|
||||||
@limiter.limit("3/second;10/minute")
|
@limiter.limit("3/second")
|
||||||
@chat_is_allowed()
|
@chat_is_allowed()
|
||||||
def speak(data, v):
|
def speak(data, v):
|
||||||
limiter.check()
|
limiter.check()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue