From a4eef61a6688bff8b9399a582a9c0e05c4f7475a Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 11 Jan 2025 19:21:25 +0100 Subject: [PATCH] Speedup. --- src/ragnar/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index 007af22..3f80386 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -56,7 +56,7 @@ class Bot: self.api = Api(username=self.username, password=self.password) def rsleepii(self): - time.sleep(random.randint(1, 2)) + time.sleep(1) @method_cache def login(self):