Browse Source

chore: delay watch-for-date!

Tienson Qin 5 years ago
parent
commit
b82ae3a4b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/handler.cljs

+ 1 - 1
src/main/frontend/handler.cljs

@@ -48,7 +48,7 @@
                                      (not (seq (db/get-files config/local-repo))))
                               (repo-handler/setup-local-repo-if-not-exists!)
                               (state/set-db-restoring! false))
-                            (watch-for-date!)
+                            (js/setTimeout watch-for-date! 10000)
                             (migration-handler/show!)
                             (when (seq (:repos me))
                               ;; FIXME: handle error