• David's avatar
    Ensure jsonrpc threading settings are sane (#11267) · 82c32658
    David authored
    * Ensure jsonrpc threading settings are sane
    
    Starting with `jsonrpc` v14, the "server threads" setting is more important than before and the current default of 1 means the https server is effectively single-threaded. This PR proposes a new default of 4 (and ensures that crazy settings like e.g. `0` are bumped to at least `1`).
    
    Also included: some docs, tests and cosmetics.
    
    * Update parity/rpc.rs
    Co-Authored-By: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Update parity/rpc.rs
    Co-Authored-By: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
    
    * Remove (i.e. deprecate) `--jsonrpc-threads` command line option
    
    * Call numbers NUM
    
    * Don't show a default for --jsonrpc-threads (deprecated)
    
    * Show deprecation warning when using `--jsonrpc-threads` or `processing_threads`
    
    * Update parity/deprecated.rs
    Co-Authored-By: Niklas Adolfsson's avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
    
    * Fix test
    
    * Fix tests for real
    82c32658
Name
Last commit
Last update
.cargo Loading commit data...
.github Loading commit data...
accounts Loading commit data...
chainspec Loading commit data...
cli-signer Loading commit data...
docs Loading commit data...
ethash Loading commit data...
ethcore Loading commit data...
evmbin Loading commit data...
ipfs Loading commit data...
json Loading commit data...
miner Loading commit data...
parity Loading commit data...
parity-clib Loading commit data...
rpc Loading commit data...
scripts Loading commit data...
secret-store Loading commit data...
updater Loading commit data...
util Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
CHANGELOG.md Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
license_header Loading commit data...
rustfmt.toml Loading commit data...