Browse Source

enhance: reduce the time to wait for ensuring sqlite initialization

Tienson Qin 2 years ago
parent
commit
a25ab8af30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/persist_db/browser.cljs

+ 1 - 1
src/main/frontend/persist_db/browser.cljs

@@ -43,7 +43,7 @@
                                                       (js/clearInterval @timer)
                                                       (reset! *inited true)
                                                       (resolve @*sqlite))))
-                                                1000)
+                                                200)
                          _ (reset! timer timer')]
                      (js/setTimeout (fn []
                                       (js/clearInterval timer)