]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
node-proxy: add a timeout when posting data
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 15 Jun 2023 14:23:13 +0000 (16:23 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:43:30 +0000 (14:43 +0000)
commita3aff1b848a3785dd2e3752a79c8c819e6445239
tree2a2ae655aa95d23affa016862210e683803445e4
parentee1d4e49d1431365ceed4043a59d9f91123c4506
node-proxy: add a timeout when posting data

if this call is stuck for any reason, the report will block
the whole daemon given that at this point it has acquired a lock.
We need to make sure this call won't block the daemon for a long time,
let's add a timeout.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/node-proxy/reporter.py