api/memory-store: unref timeout so it doesn't hold up process
This commit is contained in:
parent
ab3af731e7
commit
e2b4141fc7
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ export default class MemoryStore extends Store {
|
|||
() => this.#sweepNow(),
|
||||
Math.max(MIN_THRESHOLD_MS, time - current_time)
|
||||
);
|
||||
sweep.id.unref();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue