change pre-001 throttle to 100 lines in 1 second

This commit is contained in:
jesopo 2021-03-26 12:35:02 +00:00
parent d0e0314169
commit fc0e8470cc
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ class Server(IServer):
self.disconnected = False
self.throttle = Throttler(
rate_limit=100, period=THROTTLE_TIME)
self.throttle = Throttler(rate_limit=100, period=1)
self.sasl_state = SASLResult.NONE
self.last_read = monotonic()