]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow disabling of long-lived SSH connections.
authorAvishay Traeger <avishay@il.ibm.com>
Wed, 6 Feb 2013 21:04:15 +0000 (23:04 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Wed, 6 Feb 2013 21:07:14 +0000 (23:07 +0200)
commitb8d7170711770684b44c5d37088a29c6b0c3e3a3
treefe3b6d7858082cec34a6d16e5948dd3f5fafff05
parentda5bfac8c92081c4146ace0fc93cb80f17c41ad6
Allow disabling of long-lived SSH connections.

Currently, SSHPool connections are kept alive indefinitely.  This can
be good for many cases, but sometimes it is not desirable.  For
example, this causes unit tests which use SSH to not complete because
of the open connections.  This patch allows users to revert back
to paramiko's regular timeout policy.

Change-Id: Ifa96508b38d90610390c9ec3d48a7de75d02f08b
cinder/utils.py