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

Set socket connection timeout #570

Merged
merged 1 commit into from Sep 9, 2019
Merged

Set socket connection timeout #570

merged 1 commit into from Sep 9, 2019

Conversation

fkorotkov
Copy link
Contributor

It seems that on Cirrus create_connection frequently times out on the first try but succeeds on the second try. The default timeout is 60 seconds which seems too much for just checking availability of a port. This change set default timeout to 1 second which helps mitigate the issue of frequent socket timeouts on the first attempt.

It seems that on Cirrus `create_connection` frequently times out on the first try but succeeds on the second try. The default timeout is 60 seconds which seems too much for just checking availability of a port. This change set default timeout to 1 second which helps mitigate the issue of frequent socket timeouts on the first attempt.
@mavam mavam requested a review from tobim September 6, 2019 18:51
@mavam mavam added performance Improvements or regressions of performance bug Incorrect behavior labels Sep 6, 2019
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

Thank you for digging into this and implementing this workaround!

@tobim tobim merged commit 5368e75 into tenzir:master Sep 9, 2019
@fkorotkov fkorotkov deleted the patch-2 branch September 9, 2019 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior performance Improvements or regressions of performance
Projects
None yet
3 participants