Skip to content

Commit

Permalink
increase spill to disk threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Mar 10, 2024
1 parent b8f68dc commit 07774fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/peerdbenv/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func PeerDBCDCIdleTimeoutSeconds(providedValue int) time.Duration {

// PEERDB_CDC_DISK_SPILL_RECORDS_THRESHOLD
func PeerDBCDCDiskSpillRecordsThreshold() int {
return getEnvInt("PEERDB_CDC_DISK_SPILL_RECORDS_THRESHOLD", 1_000_000)
return getEnvInt("PEERDB_CDC_DISK_SPILL_RECORDS_THRESHOLD", 5_000_000)
}

// PEERDB_CDC_DISK_SPILL_RECORDS_THRESHOLD, negative numbers means memory threshold disabled
Expand Down

0 comments on commit 07774fd

Please sign in to comment.