Skip to content

Commit

Permalink
More reasonable default for num_retries (now 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jul 30, 2018
1 parent b6bc146 commit 15a7410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grapheneapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, urls, user="", password="", **kwargs):
self._kwargs = kwargs
self.user = user
self.password = password
self.num_retries = kwargs.pop("num_retries", 0)
self.num_retries = kwargs.pop("num_retries", 1)

if not isinstance(urls, list):
urls = [urls]
Expand Down

0 comments on commit 15a7410

Please sign in to comment.