Skip to content

Commit 424ec15

Browse files
committed
Update client.py
1 parent 3fb4eec commit 424ec15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupiterone/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _execute_query(self, query: str, variables: Dict = None) -> Dict:
9797

9898
# initiate requests session and implement retry logic of 5 request retries with 1 second between
9999
s = requests.Session()
100-
retries = Retry(total=10, backoff_factor=1.1, status_forcelist=[429, 502, 503, 504])
100+
retries = Retry(total=5, backoff_factor=1, status_forcelist=[429, 502, 503, 504])
101101
s.mount('https://', HTTPAdapter(max_retries=retries))
102102

103103
response = s.post(

0 commit comments

Comments
 (0)