Skip to content

Commit

Permalink
sleep a while before initial sync
Browse files Browse the repository at this point in the history
  • Loading branch information
birdayz committed May 6, 2019
1 parent 81cde0e commit cb9d1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/grafana-proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ func main() {
ticker := time.NewTicker(time.Minute * 5)

go func() {
time.Sleep(time.Second * 30)
log.Info("Start Sync")
syncAccounts()
syncNamespaces()
Expand Down

0 comments on commit cb9d1dd

Please sign in to comment.