From 6cab61f69cd36d8593f6b0e6024e27c1fdecc445 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 15 Aug 2019 10:53:17 +0100 Subject: [PATCH] Try without threading --- daemon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 04aa6d763..7a61b973f 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 +from http.server import BaseHTTPRequestHandler,ThreadingHTTPServer,HTTPServer #import socketserver import commentjson import json @@ -2718,7 +2718,8 @@ def runDaemon(projectVersion, \ return serverAddress = ('', proxyPort) - httpd = ThreadingHTTPServer(serverAddress, PubServer) + httpd = HTTPServer(serverAddress, PubServer) + #httpd = ThreadingHTTPServer(serverAddress, PubServer) # max POST size of 10M httpd.projectVersion=projectVersion httpd.maxPostLength=1024*1024*10