From 40a16f47175b743dc2cf1c061288366ca5ac324e Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Wed, 1 Nov 2023 07:47:29 +0100 Subject: [PATCH] Reenabled gevent as server --- cps/server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cps/server.py b/cps/server.py index 79b342d5..0b6d2fb3 100644 --- a/cps/server.py +++ b/cps/server.py @@ -23,7 +23,7 @@ import signal import socket try: - from gevwent.pywsgi import WSGIServer + from gevent.pywsgi import WSGIServer from .gevent_wsgi import MyWSGIHandler from gevent.pool import Pool from gevent.socket import socket as GeventSocket @@ -252,7 +252,6 @@ class WebServer(object): sock.setblocking(0) socket_name =sock.getsockname() output = "systemd-socket:" + _readable_listen_address(socket_name[0], socket_name[1]) - # log.error("Tornado server isn't supporting socket activation, normal port is used") elif unix_socket_file and os.name != 'nt': self._prepare_unix_socket(unix_socket_file) output = "unix:" + unix_socket_file