From ccb574933e13a7c78e6433bfa237e7046801cbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=80=E4=B9=8B?= Date: Thu, 9 Mar 2023 09:42:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=91=E7=8E=87=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=BA=E6=AF=8F=E5=88=86=E9=92=9F=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/watch/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/watch/watch.go b/internal/watch/watch.go index a8aba10..d48067c 100644 --- a/internal/watch/watch.go +++ b/internal/watch/watch.go @@ -55,7 +55,7 @@ func (w *watch) CloseHandle() { // watch 每分钟检查ip是否可以访问, 无法访问自动暂停记录 func (w *watch) watch(ctx context.Context, record *dnspod.RecordListItem) { - t := time.NewTicker(time.Second) + t := time.NewTicker(time.Minute) count := 0 for { select {