We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ae671b + 9d3e42f commit 5ab8236Copy full SHA for 5ab8236
src/main/java/io/ipfs/api/IPFS.java
@@ -93,7 +93,7 @@ public IPFS(String host, int port, String version, int connectTimeoutMillis, int
93
* @return current IPFS object with configured timeout
94
*/
95
public IPFS timeout(int timeout) {
96
- return new IPFS(host, port, version, connectTimeoutMillis, readTimeoutMillis, protocol.equals("https"));
+ return new IPFS(host, port, version, timeout, timeout, protocol.equals("https"));
97
}
98
99
public List<MerkleNode> add(NamedStreamable file) throws IOException {
0 commit comments