2 minutes instead of 300 minutes

This commit is contained in:
Cat /dev/Nulo 2023-03-02 17:57:19 -03:00
parent 30f9045a37
commit 11043db6f6

View file

@ -54,7 +54,7 @@ func LoadConfig(path string) (state State, err error) {
state.Every = parsed.Every
// if not defined or 0, set to default
if state.Every == 0 {
state.Every = 300
state.Every = 2
}
for _, d := range parsed.Domains {
switch d.Type {