Skip to content

Commit 73e47a2

Browse files
committed
doc comment
1 parent 24f46f5 commit 73e47a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupiterone/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def _execute_query(self, query: str, variables: Dict = None) -> Dict:
9595
# Always ask for variableResultSize
9696
data.update(flags={"variableResultSize": True})
9797

98+
# initiate requests session and implement retry logic of 5 request retries with 1 second between
9899
s = requests.Session()
99100
retries = Retry(total=5, backoff_factor=1, status_forcelist=[429, 502, 503, 504])
100101
s.mount('https://', HTTPAdapter(max_retries=retries))

0 commit comments

Comments
 (0)