Skip to content

Commit bb46743

Browse files
author
Priyadarshini Piramanayagam
committed
add retry for 503, 504
1 parent 5eb11bb commit bb46743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nisystemlink/clients/result/_result_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from . import models
1212

1313

14-
@retry(when=retry.when.status(429), stop=retry.stop.after_attempt(5))
14+
@retry(when=retry.when.status([429, 503, 504]), stop=retry.stop.after_attempt(5))
1515
class ResultClient(BaseClient):
1616

1717
def __init__(self, configuration: Optional[core.HttpConfiguration] = None):

0 commit comments

Comments
 (0)