perf(export): cache counts and speed sns/session stats

This commit is contained in:
tisonhuang committed 2026-03-04 21:16:40 +08:00
1 parent bf9b5ba593
commit 7604ff2ae4
7 files changed
+365 -62

No files matched your search

+4
View File
@@ -1032,6 +1032,10 @@ function registerIpcHandlers() {
return snsService.getExportStats()
})
ipcMain.handle('sns:getExportStatsFast', async () => {
return snsService.getExportStatsFast()
})
ipcMain.handle('sns:debugResource', async (_, url: string) => {
return snsService.debugResource(url)
})