Add better way to delay a stream for library notification

This commit is contained in:
Andrey Antukh
2025-02-18 11:50:07 +01:00
parent 77f906ae37
commit 713d6a31df

View File

@@ -190,8 +190,8 @@
libraries)]
(when needs-check?
(rx/concat (rx/timer 1000)
(rx/of (dwl/notify-sync-file file-id))))))))
(->> (rx/of (dwl/notify-sync-file file-id))
(rx/delay 1000)))))))
(defn- fetch-libraries
[file-id]