Skip to content

Commit

Permalink
Update setup.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adin Schmahmann <[email protected]>
  • Loading branch information
acejam and aschmahmann authored Dec 21, 2023
1 parent 262553a commit 41a1f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func Setup(ctx context.Context, cfg Config, key crypto.PrivKey, dnsCache *cached
}

func setupDatastore(cfg Config) (datastore.Batching, error) {
return flatfs.CreateOrOpen(filepath.Join(cfg.DataDir, "flatfs"), flatfs.NextToLast(2), true)
return flatfs.CreateOrOpen(filepath.Join(cfg.DataDir, "flatfs"), flatfs.NextToLast(3), false)

Check warning on line 363 in setup.go

View check run for this annotation

Codecov / codecov/patch

setup.go#L363

Added line #L363 was not covered by tests
}

type bundledDHT struct {
Expand Down

0 comments on commit 41a1f5c

Please sign in to comment.