Verified Commit 230f2cf5 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Decrease number of background threads

Because pythons GIL 
parent c78d0b15
......@@ -32,7 +32,10 @@ import activity
import importlib
import os
reactor.suggestThreadPoolSize(4) # Too much seems to have trouble with locking :-(
# If we have too many background threads, the GIL slows down the
# main thread and cleants start dropping because we are not able
# to keep up with pings.
severity = master_config.get('log_severity')
if severity == 'TRACE':
severity = log_extra.TRACE_LEVEL
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