mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-14 10:55:15 +00:00
api/memory-store: unref timeout so it doesn't hold up process
This commit is contained in:
parent
ab3af731e7
commit
e2b4141fc7
|
@ -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