Retry to dump status later after unexpected exception

Closes #14678
(grafted from 4715ad5143a679d7a7a78147b1f5343b2b27ad9a)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2026-03-16 10:30:54 +01:00
parent dfc62485d0
commit 07191e9ea3
+7 -3
View File
@@ -68,9 +68,13 @@ def dump(path):
def dumper(path):
while True:
if dump(path):
time.sleep(5)
else:
try:
if dump(path):
time.sleep(5)
else:
time.sleep(60)
except Exception:
logger.exception("status dumper crashed")
time.sleep(60)