Skip to content

Commit

Permalink
fix(telemetry): ⬇️ Reduce event syncs
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
  • Loading branch information
whizzzkid committed Sep 25, 2023
1 parent 24a5958 commit 7c31d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-on/src/lib/trackers/requestTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class RequestTracker {
private lastSync: number = Date.now()
private requestTypeStore: { [key in browser.WebRequest.ResourceType]?: number } = {}

constructor (eventKey: 'url-observed' | 'url-resolved', flushInterval = 1000 * 60 * 5) {
constructor (eventKey: 'url-observed' | 'url-resolved', flushInterval = 1000 * 60 * 60) {
this.eventKey = eventKey
this.log = debug(`ipfs-companion:request-tracker:${eventKey}`)
this.log.error = debug(`ipfs-companion:request-tracker:${eventKey}:error`)
Expand Down

0 comments on commit 7c31d97

Please sign in to comment.