From 33f84142435e4333548deead473b5afccde23fa1 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期日, 27 八月 2023 00:58:01 +0800
Subject: [PATCH] fix

---
 crontask/cron_task.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crontask/cron_task.go b/crontask/cron_task.go
index da60256..fd53267 100644
--- a/crontask/cron_task.go
+++ b/crontask/cron_task.go
@@ -11,7 +11,7 @@
 
 func InitTask() error {
 	s := gocron.NewScheduler(time.UTC)
-	_, err := s.Every(2).Seconds().StartImmediately().Do(func() {
+	_, err := s.Every(10).Seconds().StartImmediately().Do(func() {
 		plcConfig, code := service.NewDevicePlcService().GetDevicePlc()
 		if code != ecode.OK {
 			return

--
Gitblit v1.8.0