gigibox
2023-06-21 12836b886ef153b4cbe4930bcfedffe33414b8ae
report/loop.go
@@ -2,6 +2,9 @@
import (
   "context"
   "time"
   "kingdee-dbapi/config"
   "kingdee-dbapi/logger"
)
@@ -37,8 +40,8 @@
         //sql := []byte("select * from t_icitem where FItemID=3316")
         //ok := nsqclient.Produce(config.Options.QueryTopic, sql)
         //logger.Debug("测试请求接口, %v", ok)
         //
         //time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second)
         time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second)
      }
   }
}