This commit is contained in:
2021-03-24 16:35:12 +01:00
parent 9ba7a030a7
commit d14252f707
10 changed files with 325 additions and 185 deletions

View File

@@ -1,5 +1,4 @@
import logging
import multiprocessing
import multiprocessing as mp
import threading
from concurrent.futures import ThreadPoolExecutor
@@ -69,7 +68,7 @@ class Worker:
handler = RequestHandler(conn, self.host)
handler.listen()
except Exception as e:
except Exception:
logging.debug("Internal error")
conn.shutdown(socket.SHUT_RDWR)