Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Increase timeout to support unreliable networks #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 @@ -143,7 +143,7 @@ public class PushServiceSocket {
private static final Map<String, String> NO_HEADERS = Collections.emptyMap();
private static final ResponseCodeHandler NO_HANDLER = new EmptyResponseCodeHandler();

private long soTimeoutMillis = TimeUnit.SECONDS.toMillis(30);
private long soTimeoutMillis = TimeUnit.SECONDS.toMillis(120);
private final Set<Call> connections = new HashSet<>();

private final ServiceConnectionHolder[] serviceClients;
Expand Down