Update default interval to 60s

This commit is contained in:
TwinProduction
2020-09-01 00:25:57 -04:00
parent dad09e780e
commit 64a160923b
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ type Service struct {
func (service *Service) Validate() {
// Set default values
if service.Interval == 0 {
service.Interval = 10 * time.Second
service.Interval = 1 * time.Minute
}
if len(service.Method) == 0 {
service.Method = http.MethodGet