]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Set timeout in RestClient calls
authorVolker Theile <vtheile@suse.com>
Tue, 24 Jul 2018 09:52:29 +0000 (11:52 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 7 Sep 2018 10:26:02 +0000 (12:26 +0200)
commitfb44c02e8c04ddac5f750e5a2c8c73a7fa975c6e
tree46a531cc9e78ed1f3eee54cd2edce71100e96e5e
parentaf27de7b7d403259e50fba3783e9aaa3e8ef0f03
mgr/dashboard: Set timeout in RestClient calls

Set a default timeout of 45 seconds to all REST client calls. This can be customized via 'ceph dashboard set-rest-requests-timeout <seconds>'. Currently the REST client is only used by the RGW controller.

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 23128391986bf89b29fad14e0f26e9cb6ecf5cc3)

Conflicts:
doc/mgr/dashboard.rst
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/rest_client.py
src/pybind/mgr/dashboard/settings.py
src/pybind/mgr/dashboard/tests/test_rest_client.py [new file with mode: 0644]