From 1b124b897acf28c0e15c8c4111bbb2109dce7d82 Mon Sep 17 00:00:00 2001 From: Joan Cano Date: Mon, 6 Mar 2023 00:28:20 +0100 Subject: [PATCH] Added 0.5s sleep time between requests for added steps. --- wallamanta/worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wallamanta/worker.py b/wallamanta/worker.py index 3257c96..0c8b5c5 100644 --- a/wallamanta/worker.py +++ b/wallamanta/worker.py @@ -37,6 +37,7 @@ class Worker: for step in range(15): while True: + time.sleep(0.5) response = requests.get(url+ f"&step={step+1}") try: if response.status_code == 200: