Skip to content

Commit 4025164

Browse files
authored
Update retry_strategy.py
1 parent 43c602c commit 4025164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nucleus/retry_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# TODO: use retry library instead of custom code. Tenacity is one option.
22
class RetryStrategy:
3-
statuses = {503, 524, 504}
3+
statuses = {503, 524, 520, 504}
44
sleep_times = [1, 3, 9]

0 commit comments

Comments
 (0)