From e2b4141fc76d1352407b904c23d56459dbce5faa Mon Sep 17 00:00:00 2001 From: jj Date: Sat, 2 Nov 2024 11:32:35 +0000 Subject: [PATCH] api/memory-store: unref timeout so it doesn't hold up process --- api/src/store/memory-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/store/memory-store.js b/api/src/store/memory-store.js index 2b7f4a86..100a0e09 100644 --- a/api/src/store/memory-store.js +++ b/api/src/store/memory-store.js @@ -60,6 +60,7 @@ export default class MemoryStore extends Store { () => this.#sweepNow(), Math.max(MIN_THRESHOLD_MS, time - current_time) ); + sweep.id.unref(); } }