diff options
Diffstat (limited to 'designate/cmd/__init__.py')
-rw-r--r-- | designate/cmd/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/designate/cmd/__init__.py b/designate/cmd/__init__.py index 3a7edfa9..a899ed3a 100644 --- a/designate/cmd/__init__.py +++ b/designate/cmd/__init__.py @@ -14,8 +14,15 @@ # License for the specific language governing permissions and limitations # under the License. import eventlet +from eventlet.green import ssl +import socket eventlet.monkey_patch(os=False) + +# Work around the eventlet issue that impacts redis using TLS. +# https://github.com/eventlet/eventlet/issues/692 +ssl.timeout_exc = socket.timeout + # Monkey patch the original current_thread to use the up-to-date _active # global variable. See https://bugs.launchpad.net/bugs/1863021 and # https://github.com/eventlet/eventlet/issues/592 |