Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase deadline of exchangeHello #3286

Closed
wants to merge 1 commit into from
Closed

Conversation

perewa
Copy link
Contributor

@perewa perewa commented Jun 8, 2016

Purpose

Fix exchangeHello time out over high latency links

-- currently exchangeHello will close connections too soon for links with latency above 1,000ms. This not a common case, but NGOs in general works with remote locations with high latency links.
Increasing the deadline to 20s will allow links with latency up to 10,000ms to not fail exchangeHello handshake.

tenorio

currently exchangeHello will close connections too soon for links with latency above 1,000ms,
increasing it to 20s will allow links with latency up to 10,000ms to not fail exchangeHello handshake.

tenorio
@calmh
Copy link
Member

calmh commented Jun 8, 2016

@st-jenkins add to white list

@calmh
Copy link
Member

calmh commented Jun 8, 2016

@st-review merge this please

cmd/syncthing: Increase timeout in hello message exchange

Required to establish connections on high latency links

Skip-check: authors

@st-review
Copy link

@calmh: Build status is pending. I'll wait until it goes green and then merge!

@st-review
Copy link

👌 Merged as 11b9212. Thanks, @perewa!

@st-review st-review closed this Jun 8, 2016
st-review pushed a commit that referenced this pull request Jun 8, 2016
Required to establish connections on high latency links

Skip-check: authors

GitHub-Pull-Request: #3286
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jun 16, 2017
@syncthing syncthing locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants