Perf/db serialization (#1417)

* perf: disable auto-save dbs on electron

We still save the dbs when user reload the app or close the app.

Notice: Ctrl-c doesn't work now

* chore: re-enable mtime check when writing to disk

* ui: add db persistent notification
This commit is contained in:
Tienson Qin
2021-03-08 16:31:58 +08:00
committed by GitHub
parent 00b0083546
commit 35296a6897
12 changed files with 142 additions and 76 deletions

View File

@@ -138,7 +138,7 @@
:stroke-linejoin "round"
:stroke-linecap "round"}]]]
:warning
["text-gray-900"
["text-gray-900 dark:text-gray-300 "
[:svg.h-6.w-6.text-yellow-500
{:stroke "currentColor", :viewBox "0 0 24 24", :fill "none"}
[:path