diff --git a/cmd/server.go b/cmd/server.go index ea10d23c6..3e43869c5 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -32,7 +32,7 @@ import ( // Server is global so that tests can control and verify it. var Server *server.Command -// NewServeCmd create a pilosa server and run it with command line flags +// NewServeCmd creates a pilosa server and runs it with command line flags. func NewServeCmd(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { Server = server.NewCommand(stdin, stdout, stderr) serveCmd := &cobra.Command{ diff --git a/server.go b/server.go index 428e979c4..78dc7644a 100644 --- a/server.go +++ b/server.go @@ -64,9 +64,6 @@ type Server struct { PollingInterval time.Duration MetricInterval time.Duration - // Threshold for logging long queries - LongQueryTime time.Duration - // Misc options. MaxWritesPerRequest int diff --git a/server/server.go b/server/server.go index 7738f513c..a9dc07ace 100644 --- a/server/server.go +++ b/server/server.go @@ -198,7 +198,6 @@ func (m *Command) SetupServer() error { // Set configuration options. m.Server.AntiEntropyInterval = time.Duration(m.Config.AntiEntropy.Interval) - m.Server.Cluster.LongQueryTime = time.Duration(m.Config.Cluster.LongQueryTime) return nil }