bump stat freq to 1 hour

This commit is contained in:
Alex Grintsvayg 2018-09-04 09:49:54 -04:00
parent 146adcf7fd
commit cb386de4c7

View file

@ -40,7 +40,7 @@ func reflectorCmd(cmd *cobra.Command, args []string) {
reflectorServer.Timeout = 30 * time.Second
if globalConfig.SlackHookURL != "" {
reflectorServer.StatLogger = log.StandardLogger()
reflectorServer.StatReportFrequency = 10 * time.Minute
reflectorServer.StatReportFrequency = 1 * time.Hour
}
err = reflectorServer.Start(":" + strconv.Itoa(reflector.DefaultPort))