Go to file
nicky af902dfb2a Add a new configuration parameter rpc_response_max_timeout
A new parameter rpc_response_max_timeout is added and registered into
neutron.conf. (related codes in neutron)

The rpc_response_max_timeout plays a role of the ceiling of timeout
seconds when waiting for the response of a remote rpc server.

During an RPC call, the waiting time starts from the existing parameter
rpc_response_timeout(default 60s) and doubled each time until it reaches
the ceiling which is currently set as 10 times rpc_response_timeout.
It seems to be less flexible since user cannot directly change the
ceiling value unless he/she changes the rpc_response_timeout.

By adding rpc_response_max_timeout, user can now modify it without
changing any other parameters.

In class _BackingOffContextWrapper, _max_timeout and its setters are
useless temporarily because users can now directly change the rpc_max_
timeout in neutron.conf. However, there're not deleted as we should not
prevent the developer to override this parameter.

Co-Authored-By: Allain Legacy<Allain.legacy@windriver.com>

Change-Id: I45d2e5c063d2dd43cb8aec1d46faa3ee8ea4825f
Depends-on: https://review.openstack.org/#/c/626109
Related-Bug: #1805769
Story: 2004456
Task: 28171
2019-01-02 14:58:30 +00:00
2018-12-05 08:56:19 +08:00
2018-03-07 20:31:12 +01:00
2015-12-19 01:00:22 -05:00
2018-05-24 11:09:18 -07:00
2015-11-19 19:54:39 +00:00
2015-11-20 17:24:43 -07:00
2015-11-20 17:24:43 -07:00
2015-11-20 17:24:43 -07:00
2018-08-21 16:52:30 +02:00
2018-06-20 19:29:43 +08:00
2018-08-21 16:52:30 +02:00
2017-03-02 11:49:11 +00:00
2018-06-14 11:38:33 -04:00
2018-11-09 00:54:46 +07:00

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO
Description
Neutron shared routines and utilities.
Readme 33 MiB
Languages
Python 97.5%
PHP 2.1%
Shell 0.3%