mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Multi-threading not enabled (#2258)
Solution: Enable multi-threading
This commit is contained in:
parent
11c0ea916c
commit
cf36a6fe47
@ -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',
|
||||
|
@ -126,7 +126,7 @@ export BIGCHAINDB_SERVER_WORKERS=5
|
||||
"server": {
|
||||
"bind": "localhost:9984",
|
||||
"loglevel": "info",
|
||||
"workers": 1,
|
||||
"workers": null,
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user