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-06-14 11:38:33 -04:00
2018-12-13 17:10:06 +00:00
2017-07-13 21:27:35 -04:00
2018-12-03 16:38:03 +00:00
2016-12-28 17:08:10 +07:00
2018-11-09 06:27:33 -07:00
2015-12-07 18:50:07 +00:00
2017-07-05 12:09:10 +09:00