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

Allow for pbc socket keepalive settings #441

Closed
wants to merge 2 commits into from

Conversation

aquam8
Copy link
Contributor

@aquam8 aquam8 commented Mar 11, 2016

This is a pull request to add support for keepalive settings for Riak pbc.
Related to #399

@lukebakken lukebakken added this to the riak-python-client-2.4.3 milestone Mar 14, 2016
@lukebakken
Copy link
Contributor

Incorporated into #453

Just a note - I have found that TCP keepalive doesn't work with ELB, unfortunately. ELB will still close sockets that haven't sent any data. Keepalive is a useful feature to have, however.

I have implemented throwing BadResource when a socket read returns zero bytes in #453, which will re-try an operation if ELB unexpectedly closes the connection.

@lukebakken lukebakken closed this Apr 27, 2016
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

Successfully merging this pull request may close these issues.

2 participants