todo
This commit is contained in:
parent
16e4cad9ad
commit
da267a56ef
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ func New(path string) (*Storage, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: https://foxcpp.dev/articles/the-right-way-to-use-go-sqlite3
|
||||||
db.SetMaxOpenConns(1)
|
db.SetMaxOpenConns(1)
|
||||||
|
|
||||||
if err = migrate(db); err != nil {
|
if err = migrate(db); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue