mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport server.DefaultDiagnosticsInterval
This commit is contained in:
parent
6023474ed4
commit
94e633b7eb
2 changed files with 3 additions and 3 deletions
|
|
@ -20,5 +20,5 @@ package server
|
|||
|
||||
import "time"
|
||||
|
||||
// DefaultDiagnosticsInterval is the default sync frequency diagnostic metrics. A value of 0 disables diagnostics.
|
||||
const DefaultDiagnosticsInterval = time.Duration(0)
|
||||
// defaultDiagnosticsInterval is the default sync frequency diagnostic metrics. A value of 0 disables diagnostics.
|
||||
const defaultDiagnosticsInterval = time.Duration(0)
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ func (m *Command) SetupServer() error {
|
|||
|
||||
diagnosticsInterval := time.Duration(0)
|
||||
if m.Config.Metric.Diagnostics {
|
||||
diagnosticsInterval = time.Duration(DefaultDiagnosticsInterval)
|
||||
diagnosticsInterval = time.Duration(defaultDiagnosticsInterval)
|
||||
}
|
||||
|
||||
statsClient, err := NewStatsClient(m.Config.Metric.Service, m.Config.Metric.Host)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue