File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ def _is_ip_blocked(
161161 return True
162162 return False
163163
164+
164165# The delay used by the scheduler to schedule tasks "as soon as possible", while
165166# still allowing other tasks to run between runs.
166167_EPSILON = Duration (microseconds = 1 )
Original file line number Diff line number Diff line change @@ -2737,7 +2737,9 @@ def __init__(
27372737
27382738 # Create a background job for removing expired login tokens
27392739 if hs .config .worker .run_background_tasks :
2740- self .clock .looping_call (self ._delete_expired_login_tokens , Duration (minutes = 30 ))
2740+ self .clock .looping_call (
2741+ self ._delete_expired_login_tokens , Duration (minutes = 30 )
2742+ )
27412743
27422744 async def add_access_token_to_user (
27432745 self ,
You can’t perform that action at this time.
0 commit comments