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

Reinstate keepalive control #1807

bitprophet opened this issue Jun 19, 2018 · 4 comments

Reinstate keepalive control #1807

bitprophet opened this issue Jun 19, 2018 · 4 comments


Copy link

@bitprophet bitprophet commented Jun 19, 2018

v1 had a simple integer env.keepalive / --keepalive that got turned into client.get_transport().set_keepalive(xxx); v2 has not ported that over yet.

Copy link

@dgskwirut dgskwirut commented Sep 11, 2019

Any update on if this can be ported soon? Seems like a simple fix.

Copy link

@rdenham rdenham commented Feb 14, 2020

I'd also like this to be implemented.

Copy link

@ryanprater ryanprater commented Apr 21, 2020

How would one implement this functionality currently with Fabric2? Or, is it even possible?

Copy link

@cr-liadsh cr-liadsh commented Apr 25, 2020

This might be a dirty workaround, but it might be possible to set the timeout this way:
from fabric2 import Connection
c = Connection(host="", user="user", connect_kwargs={"key_filename": "my_key"}"echo hey")

I didn't find a different way to set keepalive with fabric2 at the moment ):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.