Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Sep 5, 2023
1 parent e6e17a0 commit 27eb871
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion state/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func NewDomain(cfg domainCfg, aggregationStep uint64, filenameBase, keysTable, v
keysTable: keysTable,
valsTable: valsTable,
compression: cfg.compress,
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128, NoLocks: false}),
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128}),
stats: DomainStats{FilesQueries: &atomic.Uint64{}, TotalQueries: &atomic.Uint64{}},

domainLargeValues: cfg.domainLargeValues,
Expand Down
2 changes: 1 addition & 1 deletion state/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type histCfg struct {

func NewHistory(cfg histCfg, aggregationStep uint64, filenameBase, indexKeysTable, indexTable, historyValsTable string, integrityFileExtensions []string, logger log.Logger) (*History, error) {
h := History{
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128, NoLocks: false}),
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128}),
historyValsTable: historyValsTable,
compression: cfg.compression,
compressWorkers: 1,
Expand Down
2 changes: 1 addition & 1 deletion state/inverted_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func NewInvertedIndex(
ii := InvertedIndex{
iiCfg: cfg,
warmDir: filepath.Join(baseDir, "warm"),
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128, NoLocks: false}),
files: btree2.NewBTreeGOptions[*filesItem](filesItemLess, btree2.Options{Degree: 128}),
aggregationStep: aggregationStep,
filenameBase: filenameBase,
indexKeysTable: indexKeysTable,
Expand Down

0 comments on commit 27eb871

Please sign in to comment.