Skip to content

Commit

Permalink
add sleep
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Srivastava <[email protected]>
  • Loading branch information
tangledbytes committed Nov 16, 2021
1 parent 6a75f7f commit ea85795
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meshsync/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io/ioutil"
"os"
"strings"
"time"

"github.com/google/uuid"
"github.com/layer5io/meshkit/broker"
Expand Down Expand Up @@ -88,6 +89,8 @@ func (h *Handler) streamChannelPool() error {
if err != nil {
h.Log.Error(ErrGetObject(err))
}

time.Sleep(10 * time.Second)
}
}()

Expand Down

0 comments on commit ea85795

Please sign in to comment.