From 064481d1bd914ec75482aeec529a616e88294f55 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 27 Aug 2019 10:41:01 +0200 Subject: [PATCH] Do not apply eventlets monkey patch to the thread module. --- opaque.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opaque.py b/opaque.py index 7ed970fd..0c0fc77b 100644 --- a/opaque.py +++ b/opaque.py @@ -1,5 +1,10 @@ import eventlet -eventlet.monkey_patch() +eventlet.monkey_patch(os=True, + select=True, + socket=True, + thread=False, + time=True, + psycopg=True) from dotenv import load_dotenv load_dotenv()