Skip to content

Commit

Permalink
garethgeorge#541 pi-zero WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
arminus committed Nov 14, 2024
1 parent 492beb2 commit e1f3516
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/oplog/sqlitestore/sqlitestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewSqliteStore(db string) (*SqliteStore, error) {
}
dbpool, err := sqlitex.NewPool(db, sqlitex.PoolOptions{
PoolSize: 16,
Flags: sqlite.OpenReadWrite | sqlite.OpenCreate | sqlite.OpenWAL,
Flags: sqlite.OpenReadWrite | sqlite.OpenCreate,
})
if err != nil {
return nil, fmt.Errorf("open sqlite pool: %v", err)
Expand Down Expand Up @@ -64,7 +64,6 @@ func (m *SqliteStore) Close() error {

func (m *SqliteStore) init() error {
var script = `
PRAGMA journal_mode=WAL;
PRAGMA page_size=4096;
CREATE TABLE IF NOT EXISTS operations (
id INTEGER PRIMARY KEY,
Expand Down

0 comments on commit e1f3516

Please sign in to comment.