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:
Johannes Erdfelt
2012-04-25 02:44:16 +00:00
parent fd4d0b61b9
commit af0a810ea5

View File

@@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__)
rpc_opts = [
cfg.IntOpt('rpc_thread_pool_size',
default=1024,
default=64,
help='Size of RPC thread pool'),
cfg.IntOpt('rpc_conn_pool_size',
default=30,