Set a more reasonable default RPC thread pool size
No service should be doing over 1000 different tasks at once. It can only possibly end up overloading other dependent services. 64 should be a more reasonable starting point. Change-Id: I7690ad4a9cfc5ee11e1990d5cecdf23522f11f72
This commit is contained in:
@@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
|
|
||||||
rpc_opts = [
|
rpc_opts = [
|
||||||
cfg.IntOpt('rpc_thread_pool_size',
|
cfg.IntOpt('rpc_thread_pool_size',
|
||||||
default=1024,
|
default=64,
|
||||||
help='Size of RPC thread pool'),
|
help='Size of RPC thread pool'),
|
||||||
cfg.IntOpt('rpc_conn_pool_size',
|
cfg.IntOpt('rpc_conn_pool_size',
|
||||||
default=30,
|
default=30,
|
||||||
|
|||||||
Reference in New Issue
Block a user