Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Based on the issue fabric/fabric#402 they recommend to set keepalive …
Browse files Browse the repository at this point in the history
…flag to avoid

STACKOPSHEAD-472 issue.
  • Loading branch information
pnavarro committed Oct 28, 2013
1 parent 210ca66 commit 169065b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fabuloso/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def execute_method(self, method, **kwargs):
try:
with settings(host_string=self.env['host'],
key_filename=self.env['ssh_key_file'],
port=self.env['port'], user=self.env['username']):
port=self.env['port'], user=self.env['username'],
keepalive=15):
return method(**kwargs)
except SystemExit:
traceback.print_exc()
Expand Down

0 comments on commit 169065b

Please sign in to comment.