Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Commit 95fbe34

Browse files
Merge pull request #58 from Pedrohmv/master
change type of timeout from connection to read
2 parents a958f3f + 9c2029f commit 95fbe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/java_android.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ END
509509
.connectionPool(connectionPool)
510510
.dispatcher(dispatcher)
511511
.sslSocketFactory(sslSocketFactory, trustManager)
512-
.connectTimeout(60, TimeUnit.SECONDS);
512+
.readTimeout(60, TimeUnit.SECONDS);
513513
514514
if (interceptor != null)
515515
builder.addNetworkInterceptor(interceptor);

0 commit comments

Comments
 (0)