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

Desire FailNoPeers option #224

Closed
gdamore opened this issue Mar 24, 2021 · 0 comments
Closed

Desire FailNoPeers option #224

gdamore opened this issue Mar 24, 2021 · 0 comments
Assignees

Comments

@gdamore
Copy link
Contributor

gdamore commented Mar 24, 2021

We have some communication patterns where it would be desirable not to wait for a send timeout if there is no connected peer -- instead we would prefer to fast fail so that the application can do something else (like print an error message and exit, or return an HTTP error over another socket, or something).

These situations are a little more brittle, since a temporary disconnect can cause a hard failure, but for our use cases at RackTop, it's better to just fail right away.

@gdamore gdamore self-assigned this Mar 24, 2021
@gdamore gdamore changed the title Desire FastSendFailNoPeer option. Desire FailNoPeers option Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant