Enable WAL to allow concurrent reads
authorJacob Casper <dev@jacobcasper.com>
Thu, 16 Apr 2020 23:28:38 +0000 (18:28 -0500)
committerJacob Casper <dev@jacobcasper.com>
Fri, 17 Apr 2020 00:20:10 +0000 (19:20 -0500)
commit61697e616eb2fadcd8b10f070225bfadc2af615a
treef23601094d7d7f5d5bb77287a173a03283bde88b
parenteac0dfd66703dffd39c925fdba612f8aceb7b510
Enable WAL to allow concurrent reads

This journaling mode means that we won't have to lock for reads and can
manage DB locking only around writes.
db/db.go