From 049a119e365c7b8ba1643d1c287d54f72226b90c Mon Sep 17 00:00:00 2001 From: abhijitgorde5-crypto Date: Tue, 8 Sep 2026 00:23:24 +0530 Subject: [PATCH] Pacing Bing searches to 5.5-7.5s delay to prevent MS Rewards rate-limiting throttling --- src/constants.py | 1 + src/rewards_tasks.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants.py b/src/constants.py index 2bf35c7..a552bcc 100644 --- a/src/constants.py +++ b/src/constants.py @@ -6,3 +6,4 @@ USER_DATA_DIR = abspath("./data-dir") PROFILE_NAME = "Default" + diff --git a/src/rewards_tasks.py b/src/rewards_tasks.py index c1b5762..3e265e2 100644 --- a/src/rewards_tasks.py +++ b/src/rewards_tasks.py @@ -386,7 +386,7 @@ class RewardsTaskUtils: ): self.keyboard.send_keys(f"{query} -noai{Keys.ENTER}") - time.sleep(random.uniform(0.5, 1)) + time.sleep(random.uniform(5.5, 7.5)) try: self.wait_for_then_click(self.elements.get_clear_bing_search_query_button) except StaleElementReferenceException: