Skip to content

Commit

Permalink
make the spill limit to 2M
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Dec 12, 2023
1 parent 770963f commit 9fef463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow/connectors/utils/cdc_records/cdc_records_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (

const (
/** begin with in-memory store, and then switch to Pebble DB
when the number of stored records crosses 100k
when the number of stored records crosses 2M
**/
defaultNumRecordsSwitchThreshold = 1_00_000
defaultNumRecordsSwitchThreshold = 2_000_000
)

func encVal(val any) ([]byte, error) {
Expand Down

0 comments on commit 9fef463

Please sign in to comment.