diff options
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index 935adea1ac..57429ad2ef 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -39,7 +39,7 @@ class BaseHandler(object): ) if not allowed: raise LimitExceededError( - retry_after_ms=1000*(time_allowed - time_now), + retry_after_ms=int(1000*(time_allowed - time_now)), ) |