openethereum/parity/cli/tests
David 82c3265858
Ensure jsonrpc threading settings are sane (#11267)
* 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: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Update parity/rpc.rs

Co-Authored-By: Tomasz 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 <niklasadolfsson1@gmail.com>

* Fix test

* Fix tests for real
2019-11-18 19:40:48 +01:00
..
config.full.toml Allow CORS requests in Secret Store API (#10584) 2019-04-20 07:31:37 +02:00
config.invalid1.toml Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
config.invalid2.toml Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
config.invalid3.toml Refactor and port CLI from Docopt to Clap (#2066) (#6356) 2017-09-05 12:30:22 +01:00
config.invalid4.toml Enable strict config parsing. 2018-01-03 11:05:53 +01:00
config.stratum_disabled.toml Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) 2019-04-02 11:19:20 +02:00
config.stratum_enabled.toml Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) 2019-04-02 11:19:20 +02:00
config.stratum_missing_field.toml Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) 2019-04-02 11:19:20 +02:00
config.stratum_missing_section.toml Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) 2019-04-02 11:19:20 +02:00
config.toml Ensure jsonrpc threading settings are sane (#11267) 2019-11-18 19:40:48 +01:00