Skip to content

Commit

Permalink
Reenabled gevent as server
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzieIsaacs committed Nov 1, 2023
1 parent d26e607 commit 40a16f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cps/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
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
Expand Down Expand Up @@ -252,7 +252,6 @@ def _start_tornado(self):
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
Expand Down

0 comments on commit 40a16f4

Please sign in to comment.