From bdc7f85ef54d2632287897d8daab0bc463af4836 Mon Sep 17 00:00:00 2001 From: benjamin <ben@elixxir.io> Date: Thu, 27 Oct 2022 13:32:16 -0700 Subject: [PATCH] added prints --- cmix/nodes/registrar.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmix/nodes/registrar.go b/cmix/nodes/registrar.go index 03655c716..02fc27757 100644 --- a/cmix/nodes/registrar.go +++ b/cmix/nodes/registrar.go @@ -135,10 +135,14 @@ func (r *registrar) PauseNodeRegistrations(timeout time.Duration) error { for i := int64(0); i < numRegistrations; i++ { select { case r.pauser <- struct{}{}: + jww.INFO.Printf("paused node %d", i) case <-timer.C: return errors.Errorf("Timed out on pausing node registration on %d", i) } } + + jww.INFO.Printf("PauseNodeRegistrations() - Paused all nodes") + return nil } -- GitLab