From 9e9c3dbc00c25ce6490561f56ec12111c8a9c2ef Mon Sep 17 00:00:00 2001 From: ShahanaFarooqui Date: Thu, 9 Nov 2023 20:53:21 -0800 Subject: [PATCH] clnrest: add gevent ssl monkey patch to remove warning log --- plugins/clnrest/clnrest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/clnrest/clnrest.py b/plugins/clnrest/clnrest.py index 5dc66cc08..889ff09d6 100755 --- a/plugins/clnrest/clnrest.py +++ b/plugins/clnrest/clnrest.py @@ -1,6 +1,8 @@ #!/usr/bin/env python3 # For --hidden-import gunicorn.glogging gunicorn.workers.sync try: + from gevent import monkey + monkey.patch_ssl() import sys import os import re