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

Commit

Permalink
Merge pull request #58 from Pedrohmv/master
Browse files Browse the repository at this point in the history
change type of timeout from connection to read
  • Loading branch information
danielpsantiago authored Nov 7, 2019
2 parents a958f3f + 9c2029f commit 95fbe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/java_android.cr
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ END
.connectionPool(connectionPool)
.dispatcher(dispatcher)
.sslSocketFactory(sslSocketFactory, trustManager)
.connectTimeout(60, TimeUnit.SECONDS);
.readTimeout(60, TimeUnit.SECONDS);
if (interceptor != null)
builder.addNetworkInterceptor(interceptor);
Expand Down

0 comments on commit 95fbe34

Please sign in to comment.