From e4840c7de5ff5f1a816a4fd023ba5bf797a4fa9e Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 16 四月 2024 14:03:33 +0800 Subject: [PATCH] 添加失败缓存重发的功能 --- config/config.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/config.go b/config/config.go index 1a3271d..87dbe60 100644 --- a/config/config.go +++ b/config/config.go @@ -69,5 +69,9 @@ LogConf.Level = "info" } + if ForwardConf.ReportInterval == 0 { + ForwardConf.ReportInterval = 10 + } + logger.SetLogLevel(LogConf.Level) } -- Gitblit v1.8.0