1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 14:46:40 +09:00

feat(analytics): イベントの重複フィルターの修正 (MisskeyIO#791)

This commit is contained in:
あわわわとーにゅ 2024-11-06 19:58:06 +09:00 committed by GitHub
parent 410b36b5a0
commit fcd75902cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ export function usageReport(data: UsageReport) {
if (usageReportBuffer.length > 0) { if (usageReportBuffer.length > 0) {
const last = usageReportBuffer[usageReportBuffer.length - 1]; const last = usageReportBuffer[usageReportBuffer.length - 1];
if (last.t === data.t && last.e === data.e && last.a === data.a) return; if (last.t === data.t && last.e === data.e && last.i === data.i && last.a === data.a) return;
} }
usageReportBuffer.push(data); usageReportBuffer.push(data);