Skip to content

Commit

Permalink
fix: performance regression in test sink (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud authored Aug 8, 2024
1 parent 8b11d22 commit 3e5f91e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/sinks/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ export default class SinkTest extends Sink {
},
});

this._writeDelayResolve = (a = -1) => a;
this._writeDelayChunks = (a = -1) => a;
// eslint-disable-next-line no-unused-vars
this._writeDelayResolve = (a) => -1;
// eslint-disable-next-line no-unused-vars
this._writeDelayChunks = (a) => -1;
}

get metrics() {
Expand Down

0 comments on commit 3e5f91e

Please sign in to comment.