Skip to content

Commit 25ff5ba

Browse files
committed
rebalance: add start log
Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
1 parent 985e750 commit 25ff5ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

control/rebalance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def __init__(self, gateway_service):
3131
"max_ns_to_change_lb_grp",
3232
8)
3333
self.rebalance_event = threading.Event()
34+
self.logger.info(f" Starting rebalance thread: period: {self.rebalance_period_sec},"
35+
f" max number ns to move: {self.rebalance_max_ns_to_change_lb_grp}")
3436
self.auto_rebalance = threading.Thread(target=self.auto_rebalance_task,
3537
daemon=True, args=(self.rebalance_event,))
3638
self.auto_rebalance.start() # start the thread

0 commit comments

Comments
 (0)