feat(analytics): イベントの重複フィルターの修正 (MisskeyIO#791)
This commit is contained in:
parent
410b36b5a0
commit
fcd75902cc
@ -27,7 +27,7 @@ export function usageReport(data: UsageReport) {
|
||||
|
||||
if (usageReportBuffer.length > 0) {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user