mirror of
https://github.com/LBRYFoundation/reflector.go.git
synced 2025-08-23 17:27:25 +00:00
bump stat freq to 1 hour
This commit is contained in:
parent
146adcf7fd
commit
cb386de4c7
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func reflectorCmd(cmd *cobra.Command, args []string) {
|
||||||
reflectorServer.Timeout = 30 * time.Second
|
reflectorServer.Timeout = 30 * time.Second
|
||||||
if globalConfig.SlackHookURL != "" {
|
if globalConfig.SlackHookURL != "" {
|
||||||
reflectorServer.StatLogger = log.StandardLogger()
|
reflectorServer.StatLogger = log.StandardLogger()
|
||||||
reflectorServer.StatReportFrequency = 10 * time.Minute
|
reflectorServer.StatReportFrequency = 1 * time.Hour
|
||||||
}
|
}
|
||||||
|
|
||||||
err = reflectorServer.Start(":" + strconv.Itoa(reflector.DefaultPort))
|
err = reflectorServer.Start(":" + strconv.Itoa(reflector.DefaultPort))
|
||||||
|
|
Loading…
Add table
Reference in a new issue