Commit 54ce4d47 authored by okhin's avatar okhin
Browse files

Need a max_worker parmaeters to the ThreadPoolExecutor

parent 735f995e
Pipeline #75 passed with stage
in 3 seconds
......@@ -47,7 +47,7 @@ application = app = Bottle(autojson=False)
app.install(JSONPlugin(json_dumps=lambda s: json.dumps(s, cls=PiphoneJSONEncoder)))
threads = concurrent.futures.ThreadPoolExecutor()
threads = concurrent.futures.ThreadPoolExecutor(max_workers=5)
loop = asyncio.get_event_loop()
running = False
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment