From 3f3696e54eb21ab308edf9fbe36100ced122d920 Mon Sep 17 00:00:00 2001 From: MasterAcnolo Date: Wed, 5 Aug 2026 22:16:15 +0200 Subject: [PATCH] refactor: notify.helpers.js logic. Add a timeout and a better notification management to avoid race condition on Unix Systems --- server/helpers/notify.helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/notify.helpers.js b/server/helpers/notify.helpers.js index c262d26..d656ce6 100644 --- a/server/helpers/notify.helpers.js +++ b/server/helpers/notify.helpers.js @@ -20,7 +20,7 @@ const activeNotifications = new Set(); function notifyDownloadFinished(folder, notifyEnabled = true) { if (!notifyEnabled) return; if (!folder) return; - + const notif = new Notification({ title: "Freedom Loader", body: "Your download is complete, click here to open it.",