mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
todo
This commit is contained in:
parent
16e4cad9ad
commit
da267a56ef
@ -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…
x
Reference in New Issue
Block a user