Skip to content

Commit

Permalink
Disable request timeouts since the old library also did have them
Browse files Browse the repository at this point in the history
  • Loading branch information
ntninja committed May 13, 2019
1 parent 667f828 commit 4e107a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfsapi/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def __init__(self, host=DEFAULT_HOST, port=DEFAULT_PORT, base=DEFAULT_BASE,
pass

addr = "/{0}/{1}/tcp/{2}/{3}".format(host_type, url.hostname, url.port, url.scheme)
super(Client, self).__init__(addr, base, chunk_size, **defaults)
super(Client, self).__init__(addr, base, chunk_size, timeout=None, **defaults)


def __getattribute__(self, name):
Expand Down

0 comments on commit 4e107a9

Please sign in to comment.