1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-06 14:52:50 +08:00

fix: 下线失效的统计服务 close #579

This commit is contained in:
涵曦
2025-11-10 10:27:31 +08:00
parent 8067b49056
commit 79a0aa229a

View File

@@ -58,7 +58,7 @@ class Analytics:
async def _send(self, event):
if self.config.enable_analytics:
asyncio.create_task(self.post_to_umami(event))
# asyncio.create_task(self.post_to_umami(event))
await self.run_with_cancel(self._google_send, [event])
else:
self.log.info("analytics is disabled, skip sending event")