Skip to content

Commit 42e3d21

Browse files
committed
node-proxy: call time.sleep() after each reporter iteration
This makes sure time.sleep() is always call in the reporter loop. Signed-off-by: Guillaume Abrioux <[email protected]>
1 parent b3f21b8 commit 42e3d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ceph-node-proxy/ceph_node_proxy/reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def main(self) -> None:
6363
self.system.previous_data = self.system.get_system()
6464
else:
6565
self.log.debug('no diff, not sending data to the mgr.')
66-
time.sleep(5)
6766
self.log.debug('lock released in reporter loop.')
67+
time.sleep(5)
6868
self.log.debug('exiting reporter loop.')
6969
raise SystemExit(0)

0 commit comments

Comments
 (0)