Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public void onProgress(
// shared under the hood.
// See https://github.com/square/okhttp/wiki/Recipes#per-call-configuration for more information
if (timeout != mClient.connectTimeoutMillis()) {
Copy link
Contributor

@NickGerleman NickGerleman Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is no longer correct (should be callTimeoutMillis()). I can fix it up quickly.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how change this line?

clientBuilder.connectTimeout(timeout, TimeUnit.MILLISECONDS);
clientBuilder.callTimeout(timeout, TimeUnit.MILLISECONDS);
}
OkHttpClient client = clientBuilder.build();

Expand Down