Skip to content

Commit db361d3

Browse files
authored
Revert default stepsize for 3.4 (#18186)
partially reverts #18150 (only the new defaults)
1 parent 02e8e19 commit db361d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/config3/config3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ const LegacyStepSize = 1_562_500
2323
const LegacyStepsInFrozenFile = 64
2424

2525
// Default number of transactions (txNums) in one "step". One static file can have [1, DefaultStepsInFrozenFile] steps.
26-
const DefaultStepSize = 781_250
26+
const DefaultStepSize = 1_562_500
2727

2828
// DefaultStepsInFrozenFile - files of this size are completely frozen/immutable.
2929
// files of smaller size are also immutable, but can be removed after merge to bigger files.
3030
// TODO: there are exceptions to this rule; domains override this limit hardcoded inside domain construction to be unlimited; it could be made more explicit in the schema.
31-
const DefaultStepsInFrozenFile = 128
31+
const DefaultStepsInFrozenFile = 64
3232

3333
const EnableHistoryV4InTest = true
3434

0 commit comments

Comments
 (0)