]> Sergey Matveev's repositories - btrtrc.git/commit
Set page size before initializing connections
authorMatt Joiner <anacrolix@gmail.com>
Mon, 17 May 2021 00:58:57 +0000 (10:58 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 17 May 2021 01:56:10 +0000 (11:56 +1000)
commitfc0f2d146d9c11923d492072b2370e97005a4609
treee858b90c1b92307d1d0ba76b1bef2393809f2b61
parentad421ea2d0ff16f3be7e2401754d60337fd8e4dc
Set page size before initializing connections

Setting page_size seems to be ignored if done after setting journal_mode, specifically to WAL I think. There's huge performance benefits to getting it right.
storage/sqlite/direct.go
storage/sqlite/sqlite-storage.go
storage/sqlite/sqlite-storage_test.go