refactor(camel_oil): 移除多余的日志打印信息

- 删除了当前在线账号数量和目标数量的日志输出
- 去除了获取预拉取订单日志数量的日志打印
- 精简代码,减少无用日志,提高运行效率
This commit is contained in:
danial
2025-12-07 01:25:35 +08:00
parent a7ecd1147b
commit 6890938e96
2 changed files with 0 additions and 3 deletions

View File

@@ -42,7 +42,6 @@ func (s *sCamelOil) CronAccountPrefetchTask(ctx context.Context) error {
}
targetOnlineAccounts := settings.LoginAccountCount
glog.Infof(ctx, "当前在线账号数量: %d, 目标数量: %d", onlineCount, targetOnlineAccounts)
// 2. 如果在线账号少于目标数,触发并发登录
if onlineCount < targetOnlineAccounts {

View File

@@ -78,8 +78,6 @@ func (s *sCamelOil) GetPrefetchOrderLogs(ctx context.Context, req *v1.GetPrefetc
currentTime = currentTime.Add(gtime.M)
}
glog.Infof(ctx, "获取到预拉取订单日志 %d 条", len(logs))
// 返回结果
res = &v1.GetPrefetchOrderLogsRes{
Logs: logs,