File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 302
302
:search search-db
303
303
:client-ops client-ops-db})
304
304
(.exec db " PRAGMA locking_mode=exclusive" )
305
+ (.exec db " PRAGMA journal_mode=WAL" )
306
+ (.exec client-ops-db " PRAGMA locking_mode=exclusive" )
307
+ (.exec client-ops-db " PRAGMA journal_mode=WAL" )
305
308
(sqlite-common-db/create-kvs-table! db)
306
309
(when-not @*publishing? (sqlite-common-db/create-kvs-table! client-ops-db))
307
310
(db-migrate/migrate-sqlite-db db)
321
324
(d/transact! conn initial-data {:initial-db? true })))
322
325
323
326
(when-not db-based?
324
- (try
325
- (when-not (ldb/page-exists? @conn common-config/views-page-name " page" )
326
- (ldb/transact! conn (sqlite-create-graph/build-initial-views )))
327
- (catch :default _e)))
327
+ (try
328
+ (when-not (ldb/page-exists? @conn common-config/views-page-name " page" )
329
+ (ldb/transact! conn (sqlite-create-graph/build-initial-views )))
330
+ (catch :default _e)))
328
331
329
332
; ; (gc-kvs-table! db)
330
333
(try
You can’t perform that action at this time.
0 commit comments