f-21: code: set db tu readwrite
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
8637c33bd8
commit
24536ed891
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ func main() {
|
|||
log.Fatalf("failed to load config: %v", err)
|
||||
}
|
||||
|
||||
db := kv.InitDB(kv.Config{Path: cfg.Database.Path}, true)
|
||||
db := kv.InitDB(kv.Config{Path: cfg.Database.Path}, false)
|
||||
defer db.Close()
|
||||
|
||||
q := worker.New(cfg.Worker.BufferSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue