Skip to content

Commit a29188f

Browse files
Reduce the minimal chunk size from 100 to 10.
1 parent d6c8363 commit a29188f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/base/context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ func (this *MigrationContext) SetMaxLagMillisecondsThrottleThreshold(maxLagMilli
551551
}
552552

553553
func (this *MigrationContext) SetChunkSize(chunkSize int64) {
554-
if chunkSize < 100 {
555-
chunkSize = 100
554+
if chunkSize < 10 {
555+
chunkSize = 10
556556
}
557557
if chunkSize > 100000 {
558558
chunkSize = 100000

0 commit comments

Comments
 (0)