Changed formula for calculating time between requests

This commit is contained in:
Frisk 2024-07-25 12:16:30 +02:00
parent a46ae8f13e
commit 935e17a8e9

View file

@ -215,7 +215,7 @@ class Domain:
@cache
def calculate_sleep_time(self, queue_length: int):
return max((-25 * queue_length) + 150, 1)
return max(125/queue_length, 1)
async def run_wiki_check(self):
"""Runs appropriate scheduler depending on existence of IRC"""