mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
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