Skip to content

Commit

Permalink
Fix cache time expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Jan 26, 2017
1 parent fcd2c67 commit 88c20ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/clawiod/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func newServer(config root.Configuration) (*server, error) {
s.logger.Error().Log("error", "error registering node")
}
for range time.Tick(time.Second * 5) {
s.logger.Info().Log("msg", "keep alive is issued every 5 seconds: re-registering node")
err = s.registerNode()
if err != nil {
s.logger.Error().Log("error", "error registering node")
Expand Down

0 comments on commit 88c20ff

Please sign in to comment.