Skip to content

Commit

Permalink
Update binding.py
Browse files Browse the repository at this point in the history
Updated the comment to specify this works in synchronous/blocking way
  • Loading branch information
ashah-splunk committed Apr 20, 2022
1 parent 3c9f1ab commit 7acd49a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion splunklib/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ class Context(object):
:param headers: List of extra HTTP headers to send (optional).
:type headers: ``list`` of 2-tuples.
:param retires: Number of retries for each HTTP connection (optional, the default is 0).
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUND TRIP CONNECTIONS TO THE SPLUNK SERVER.
NOTE THAT THIS MAY INCREASE THE NUMBER OF ROUND TRIP CONNECTIONS TO THE SPLUNK SERVER AND BLOCK THE
CURRENT THREAD WHILE RETRYING.
:type retries: ``int``
:param retryDelay: How long to wait between connection attempts if `retries` > 0 (optional, defaults to 10s).
:type retryDelay: ``int`` (in seconds)
Expand Down

0 comments on commit 7acd49a

Please sign in to comment.