From ea857955c8d567f3b9805129c2e8743d2cf4660f Mon Sep 17 00:00:00 2001 From: Utkarsh Srivastava Date: Tue, 16 Nov 2021 19:37:27 +0530 Subject: [PATCH] add sleep Signed-off-by: Utkarsh Srivastava --- meshsync/exec.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meshsync/exec.go b/meshsync/exec.go index 5e4d7e20..ee82a813 100644 --- a/meshsync/exec.go +++ b/meshsync/exec.go @@ -7,6 +7,7 @@ import ( "io/ioutil" "os" "strings" + "time" "github.com/google/uuid" "github.com/layer5io/meshkit/broker" @@ -88,6 +89,8 @@ func (h *Handler) streamChannelPool() error { if err != nil { h.Log.Error(ErrGetObject(err)) } + + time.Sleep(10 * time.Second) } }()