From f61fc235a43d3af24378ca23b5ba7130f1817a5c 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 5dc66cc0826d..889ff09d684f 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