Skip to content

Commit

Permalink
fix: set the backpressure strategy to linear scan
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciopoppe committed Dec 19, 2023
1 parent fb1da7d commit babefeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/samplers/interval_worker_pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class IntervalWorkerPool {
this.tasks = []
this.resolves = new Map()
this.rejects = new Map()
this.backpressure = BackpressureStrategy.InvalidateSeenMap
this.backpressure = BackpressureStrategy.InvalidateSeenScan
this.taskIdToIdx = new Map()

for (let i = 0; i < nThreads; i += 1) {
Expand Down

0 comments on commit babefeb

Please sign in to comment.