summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/rpc/__init__.py')
-rw-r--r--openstack/common/rpc/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstack/common/rpc/__init__.py b/openstack/common/rpc/__init__.py
index 116aa84..26bd048 100644
--- a/openstack/common/rpc/__init__.py
+++ b/openstack/common/rpc/__init__.py
@@ -42,6 +42,10 @@ rpc_opts = [
cfg.IntOpt('rpc_response_timeout',
default=60,
help='Seconds to wait for a response from call or multicall'),
+ cfg.IntOpt('rpc_cast_timeout',
+ default=30,
+ help='Seconds to wait before a cast expires (TTL). '
+ 'Only supported by impl_zmq.'),
cfg.ListOpt('allowed_rpc_exception_modules',
default=['openstack.common.exception', 'nova.exception'],
help='Modules of exceptions that are permitted to be recreated'