Fix a description of 'executor_thread_pool_size' option in Kombu RPC

* As it turned out, when we register this option in KombuServer
  we have to keep it exactly the same as it's registered in
  oslo.messaging. However, in oslo.messaging 5.21.0 the description
  of this option has changed so it our tests started failing with
  duplicate config option error. The reason is that oslo.config
  compares all option properties when it checks if an option is
  registered.

Change-Id: I87c8cac80214fffe919c67ff3c9c56ffae85b63a
This commit is contained in:
Renat Akhmerov 2017-04-12 19:39:00 +07:00
parent 1f71b81967
commit a772530af2

View File

@ -36,7 +36,8 @@ _pool_opts = [
cfg.IntOpt('executor_thread_pool_size',
default=64,
deprecated_name="rpc_thread_pool_size",
help='Size of executor thread pool.'),
help='Size of executor thread pool when'
' executor is threading or eventlet.'),
]