Problem: Multi-threading not enabled (#2258)

Solution: Enable multi-threading
This commit is contained in:
Vanshdeep Singh 2018-05-03 11:52:54 +02:00 committed by Troy McConaghy
parent 11c0ea916c
commit cf36a6fe47
2 changed files with 2 additions and 3 deletions

View File

@ -89,8 +89,7 @@ config = {
'bind': 'localhost:9984',
'loglevel': logging.getLevelName(
log_config['handlers']['console']['level']).lower(),
'threads': 1,
'workers': 1, # if None, the value will be cpu_count * 2 + 1
'workers': None, # if None, the value will be cpu_count * 2 + 1
},
'wsserver': {
'scheme': 'ws',

View File

@ -126,7 +126,7 @@ export BIGCHAINDB_SERVER_WORKERS=5
"server": {
"bind": "localhost:9984",
"loglevel": "info",
"workers": 1,
"workers": null,
}
```