From 01f047037ac22424b860a3f040e7650a247e6d52 Mon Sep 17 00:00:00 2001 From: Matthieu 'JP' DERASSE Date: Thu, 22 Jun 2023 12:41:05 +0000 Subject: [PATCH] fix(speed): check every 2s --- alert/alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alert/alert.go b/alert/alert.go index 0b2866e..37eb745 100644 --- a/alert/alert.go +++ b/alert/alert.go @@ -33,7 +33,7 @@ func Init(alertChan chan api.Availability) { } // define an interval and the ticker for this interval - interval := time.Duration(5) * time.Second + interval := time.Duration(2) * time.Second // create a new Ticker tk := time.NewTicker(interval)