]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Set timeout in RestClient calls 23224/head
authorVolker Theile <vtheile@suse.com>
Tue, 24 Jul 2018 09:52:29 +0000 (11:52 +0200)
committerVolker Theile <vtheile@suse.com>
Fri, 27 Jul 2018 12:03:06 +0000 (14:03 +0200)
commit23128391986bf89b29fad14e0f26e9cb6ecf5cc3
tree2b80b7f73fd283aaffc24035c876712c3e21a644
parent794126b7b952e7f6de3f7a65497c2e2d1498bfd0
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>
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]