mirror of
https://github.com/logseq/logseq.git
synced 2026-05-20 19:02:23 +00:00
chore: add logs for assets-sync-loop-task
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
[frontend.worker.rtc.log-and-state :as rtc-log-and-state]
|
||||
[frontend.worker.rtc.ws-util :as ws-util]
|
||||
[frontend.worker.state :as worker-state]
|
||||
[lambdaisland.glogi :as log]
|
||||
[logseq.common.path :as path]
|
||||
[logseq.db :as ldb]
|
||||
[malli.core :as ma]
|
||||
@@ -293,6 +294,7 @@
|
||||
started-dfv
|
||||
(m/sp
|
||||
(try
|
||||
(log/info :rtc-asset :loop-starting)
|
||||
(started-dfv true)
|
||||
(m/? (new-task--initial-download-missing-assets repo get-ws-create-task graph-uuid conn add-log-fn))
|
||||
(->>
|
||||
|
||||
@@ -248,7 +248,8 @@
|
||||
(update-remote-schema-version! conn @*server-schema-version)
|
||||
(reset! *assets-sync-loop-canceler
|
||||
(c.m/run-task :assets-sync-loop-task
|
||||
assets-sync-loop-task))
|
||||
assets-sync-loop-task
|
||||
:fail #(log/info :assets-sync-loop-task-stopped %)))
|
||||
(->>
|
||||
(let [event (m/?> mixed-flow)]
|
||||
(case (:type event)
|
||||
|
||||
Reference in New Issue
Block a user