Skip to content

Commit

Permalink
Problem: Multi-threading not enabled (bigchaindb#2258)
Browse files Browse the repository at this point in the history
Solution: Enable multi-threading
  • Loading branch information
kansi authored and ttmc committed May 3, 2018
1 parent 11c0ea9 commit cf36a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bigchaindb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@
'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',
Expand Down
2 changes: 1 addition & 1 deletion docs/server/source/server-reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export BIGCHAINDB_SERVER_WORKERS=5
"server": {
"bind": "localhost:9984",
"loglevel": "info",
"workers": 1,
"workers": null,
}
```

Expand Down

0 comments on commit cf36a6f

Please sign in to comment.