api/memory-store: unref timeout so it doesn't hold up process
This commit is contained in:
@@ -60,6 +60,7 @@ export default class MemoryStore extends Store {
|
||||
() => this.#sweepNow(),
|
||||
Math.max(MIN_THRESHOLD_MS, time - current_time)
|
||||
);
|
||||
sweep.id.unref();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user