fix: adjust exponential backoff timing in scrape_jobs_with_retry
This commit is contained in:
@@ -174,7 +174,7 @@ def scrape_jobs_with_retry(max_retries=3):
|
||||
return True
|
||||
except Exception as e:
|
||||
if attempt < max_retries - 1:
|
||||
time.sleep(2 ** attempt * 60) # Exponential backoff
|
||||
time.sleep(2 ** attempt * 10) # Exponential backoff
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user