From 2403da5a5a8052bd22fecb3733df483febefab2e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 15 Aug 2019 13:01:56 +0100 Subject: [PATCH] Back to threading --- daemon.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 20721056..032393ba 100644 --- a/daemon.py +++ b/daemon.py @@ -6,7 +6,7 @@ __maintainer__ = "Bob Mottram" __email__ = "bob@freedombone.net" __status__ = "Production" -from http.server import BaseHTTPRequestHandler,ThreadingHTTPServer,HTTPServer +from http.server import BaseHTTPRequestHandler,ThreadingHTTPServer #import socketserver import commentjson import json @@ -2727,8 +2727,7 @@ def runDaemon(projectVersion, \ return serverAddress = ('', proxyPort) - httpd = HTTPServer(serverAddress, PubServer) - #httpd = ThreadingHTTPServer(serverAddress, PubServer) + httpd = ThreadingHTTPServer(serverAddress, PubServer) # max POST size of 10M httpd.projectVersion=projectVersion httpd.maxPostLength=1024*1024*10