Skip to content

Commit

Permalink
Change interval of raft stats collection to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetha Appan committed Jun 19, 2019
1 parent 425bd4f commit 3adb751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func NewServer(config *Config, consulCatalog consul.CatalogAPI) (*Server, error)
go s.heartbeatStats()

// Emit raft and state store metrics
go s.EmitRaftStats(time.Second, s.shutdownCh)
go s.EmitRaftStats(10*time.Second, s.shutdownCh)

// Start enterprise background workers
s.startEnterpriseBackground()
Expand Down

0 comments on commit 3adb751

Please sign in to comment.