small pixel drawing of a pufferfish vore

sqlite: enable write-ahead log
Jes Olson j3s@c3f.net
Fri, 09 Feb 2024 16:07:34 -0600
commit

a1c84a8a40dfb97b1209963cfdbe56fced37bc7d

parent

481c8e1a4494fef12d37c7c952533e41a75f193c

2 files changed, 3 insertions(+), 4 deletions(-)

jump to
M .gitignore.gitignore

@@ -1,3 +1,3 @@

vore -vore.db +vore.db*
M site.gosite.go

@@ -34,10 +34,9 @@ }

// New returns a fully populated & ready for action Site func New() *Site { - title := "vore" - db := sqlite.New(title + ".db") + db := sqlite.New("vore.db?_pragma=journal_mode(WAL)") s := Site{ - title: title, + title: "vore", reaper: reaper.New(db), db: db, }