drop cgo requirement

This commit is contained in:
Hayden 2023-03-22 20:26:07 -08:00
parent 22cd088657
commit 24ccb2b4e7
No known key found for this signature in database
GPG key ID: 17CF79474E257545
8 changed files with 110 additions and 72 deletions

View file

@ -7,5 +7,5 @@ const (
type Storage struct {
// Data is the path to the root directory
Data string `yaml:"data" conf:"default:./.data"`
SqliteUrl string `yaml:"sqlite-url" conf:"default:./.data/homebox.db?_fk=1"`
SqliteUrl string `yaml:"sqlite-url" conf:"default:./.data/homebox.db?_pragma=busy_timeout=1000&_pragma=journal_mode=WAL&_fk=1"`
}