]> git-server-git.apps.pok.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:51:46 +0000 (14:51 +0000)
commitcf5780e426b69713ba04b608c4a2195bda015776
treeb91d48d58dfe23ac76710c33658e17a82782ada1
parent8969e3fd10968275619d08006383cff81104fe61
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>
(cherry picked from commit a3aff1b848a3785dd2e3752a79c8c819e6445239)
src/cephadm/node-proxy/reporter.py