enhance: add notification for ast-version

- :ast-version < db-schema/ast-version
- :ast-version is nil
This commit is contained in:
rcmerci
2021-07-02 17:01:13 +08:00
committed by Tienson Qin
parent c30449eff0
commit d58dd4d88d
3 changed files with 31 additions and 3 deletions

View File

@@ -155,7 +155,8 @@
(when logged?
(d/transact! db-conn [(me-tx (d/db db-conn) me)])))]
(restore-config-handler repo)
(listen-and-persist! repo)))))))
(listen-and-persist! repo)
(state/pub-event! [:after-db-restore repo])))))))
(defn run-batch-txs!
[]