Skip to content

Commit 894df64

Browse files
committed
updated status codes used to trigger request retry
1 parent c68d0c3 commit 894df64

3 files changed

+3
-3
lines changed

hunter-enrich-org.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def flexio_handler(flex):
181181
def requests_retry_session(
182182
retries=3,
183183
backoff_factor=0.3,
184-
status_forcelist=(500, 502, 504),
184+
status_forcelist=(429, 500, 502, 503, 504),
185185
session=None,
186186
):
187187
session = session or requests.Session()

hunter-enrich-people.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def flexio_handler(flex):
136136
def requests_retry_session(
137137
retries=3,
138138
backoff_factor=0.3,
139-
status_forcelist=(500, 502, 504),
139+
status_forcelist=(429, 500, 502, 503, 504),
140140
session=None,
141141
):
142142
session = session or requests.Session()

hunter-verify-email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def flexio_handler(flex):
137137
def requests_retry_session(
138138
retries=3,
139139
backoff_factor=0.3,
140-
status_forcelist=(500, 502, 504),
140+
status_forcelist=(429, 500, 502, 503, 504),
141141
session=None,
142142
):
143143
session = session or requests.Session()

0 commit comments

Comments
 (0)