修复DAU统计导致无法提示进程在运行的问题

This commit is contained in:
刘祥超
2024-04-15 16:06:16 +08:00
parent 167bb2df29
commit 484b56492b
2 changed files with 20 additions and 10 deletions

View File

@@ -89,6 +89,14 @@ func NewBandwidthStatManager() *BandwidthStatManager {
}
func (this *BandwidthStatManager) Start() {
// 初始化DAU统计
{
err := SharedDAUManager.Init()
if err != nil {
remotelogs.Error("DAU_MANAGER", "initialize DAU manager failed: "+err.Error())
}
}
// 从上次数据中恢复
this.locker.Lock()
this.recover()