Skip to content

Commit

Permalink
fix default filesystem database config
Browse files Browse the repository at this point in the history
  • Loading branch information
ushis committed Nov 13, 2023
1 parent 5eca879 commit 20a35b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/filesystem/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Config struct {
}

func New(configure func(interface{}) error) (db.Database, error) {
conf := Config{Directory: ".", VacuumInterval: "24 hours"}
conf := Config{Directory: ".", VacuumInterval: "24h"}

if err := configure(&conf); err != nil {
return nil, err
Expand Down

0 comments on commit 20a35b5

Please sign in to comment.