diff --git a/doc/reduce-memory.md b/doc/reduce-memory.md index 41aa89e4e9..f03e725187 100644 --- a/doc/reduce-memory.md +++ b/doc/reduce-memory.md @@ -35,7 +35,7 @@ threads take up 8MiB for the thread stack on a 64-bit system, and 4MiB in a 32-bit system. - `-par=` - the number of script verification threads, defaults to the number of cores in the system minus one. -- `-rpcthreads=` - the number of threads used for processing RPC requests, defaults to `4`. +- `-rpcthreads=` - the number of threads used for processing RPC requests, defaults to `16`. ## Linux specific diff --git a/src/httpserver.h b/src/httpserver.h index 7163a8b443..995e0b5327 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -14,7 +14,7 @@ namespace util { class SignalInterrupt; } // namespace util -static const int DEFAULT_HTTP_THREADS=4; +static const int DEFAULT_HTTP_THREADS=16; static const int DEFAULT_HTTP_WORKQUEUE=16; static const int DEFAULT_HTTP_SERVER_TIMEOUT=30;