|
@@ -119,7 +119,7 @@
|
|
|
(fs/watch-dir! dir-name))
|
|
|
(file-sync-restart!))
|
|
|
|
|
|
-(defmethod handle :graph/unlinked [repo current-repo]
|
|
|
+(defmethod handle :graph/unlinked [[repo current-repo]]
|
|
|
(when (= (:url repo) current-repo)
|
|
|
(file-sync-restart!)))
|
|
|
|
|
@@ -889,6 +889,10 @@
|
|
|
[:p "Don't forget to re-index your graph when all the conflicts are resolved."]]
|
|
|
:status :error}]))
|
|
|
|
|
|
+(defmethod handle :network/unstable [[_ recover?]]
|
|
|
+ (reset! file-sync/*unstable-network (not recover?)))
|
|
|
+
|
|
|
+
|
|
|
(defn run!
|
|
|
[]
|
|
|
(let [chan (state/get-events-chan)]
|