From d9285b95d695f9082d289259edd132a7be2a308d Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Fri, 8 Dec 2023 18:33:34 +0900 Subject: [PATCH] init timing changes --- loxinet/loxinet.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loxinet/loxinet.go b/loxinet/loxinet.go index f066dd06b..352991644 100644 --- a/loxinet/loxinet.go +++ b/loxinet/loxinet.go @@ -241,6 +241,10 @@ func loxiNetInit() { // Initialize the clustering subsystem mh.has = CIInit(spawnKa, kaMode) if clusterMode { + if opts.Opts.Bgp { + tk.LogIt(tk.LogInfo, "init-wait cluster mode\n") + time.Sleep(10 * time.Second) + } // Add cluster nodes if specified cNodes := strings.Split(opts.Opts.ClusterNodes, ",") for _, cNode := range cNodes {