Skip to content

Commit

Permalink
remove 'retryDelayMillis
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Apr 21, 2024
1 parent 1ffa8e5 commit 296ba1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Upcoming

- Breaking: Remove unused option "retryDelayMillis"

# v0.3.0

Date: 2024-04-21T22:11:04.415Z
Expand Down
1 change: 0 additions & 1 deletion src/QueryBin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export class QueryBin<T, Q extends QueryDefinitions<T> = QueryDefinitions<T>> {
}

interface Options {
retryDelayMillis?: number;
timeoutMillis?: number;
}

Expand Down
6 changes: 1 addition & 5 deletions src/QueryBin.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
export class QueryBin {
constructor(
queries = {},
{ retryDelayMillis = 200, timeoutMillis = 1000 } = {},
) {
constructor(queries = {}, { timeoutMillis = 1000 } = {}) {
this.values = [];
this.retryDelayMillis = retryDelayMillis;
this.timeoutMillis = timeoutMillis;

this.latch = new Latch();
Expand Down

0 comments on commit 296ba1a

Please sign in to comment.