Skip to content

Commit

Permalink
Fix: engaged telemetry should be sent asap
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Feb 13, 2025
1 parent d6d85a8 commit 3dba150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/telemetry/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export default class Metrics {

// Protect against calling events immediately after install for all frequencies
// They should trigger on the trailing edge of the frequency
if (!this.storage[key]) {
if (!this.storage[key] && type !== 'engaged') {
this.storage[key] = now;
this.saveStorage(this.storage);
}
Expand Down

0 comments on commit 3dba150

Please sign in to comment.