Skip to content

Commit

Permalink
style: [DET-6509] add new line
Browse files Browse the repository at this point in the history
  • Loading branch information
nrajanee committed Feb 25, 2022
1 parent 727c09d commit 59f4317
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/internal/core.go
Expand Up @@ -616,6 +616,7 @@ func (m *Master) rwCoordinatorWebSocket(socket *websocket.Conn, c echo.Context)
func updateClusterHeartbeat(ctx context.Context, db *db.PgDB) {
t := time.NewTicker(10 * time.Minute)
defer t.Stop()

for {
currentTime := time.Now().UTC().Truncate(time.Millisecond)
err := db.UpdateClusterHeartBeat(currentTime)
Expand Down

0 comments on commit 59f4317

Please sign in to comment.