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 ...@@ -32,7 +32,10 @@ import activity
import importlib import importlib
import os 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.
reactor.suggestThreadPoolSize(3)
severity = master_config.get('log_severity') severity = master_config.get('log_severity')
if severity == 'TRACE': if severity == 'TRACE':
severity = log_extra.TRACE_LEVEL 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