代码提交

This commit is contained in:
2026-11-05 12:11:56 +08:00
parent 3d9bdb6f6e
commit 3fd3e82a01
18 changed files with 431 additions and 58 deletions
+7
View File
@@ -90,6 +90,13 @@ func Start() {
statutils.ServerMon.Run1(statminute.RunStat, defaultStatDate)
})
// 渠道同时段对比数据(channel_stat_yestoday)
// 必须严格整点一次: 记录按 sumDate=当前整点 作为唯一键的一部分,
// 跑在 5 分钟粒度上会在同一小时内反复覆盖同一批记录,没有意义且白耗资源。
_, _ = skdCron.AddFunc("0 0 */1 * * ?", func() {
statutils.ServerMon.Run(statminute.ChannelSettlementUpdateByHour)
})
}
// 应用点击统计