Skip to content

Commit

Permalink
changing idle timeout to 60 seconds (#791)
Browse files Browse the repository at this point in the history
The reason for this is based on what we've observed at multiple user
deployments, this value seems to make the system more stable for heavier
loads as we keep the START_REPLICATION connection open for longer

Co-authored-by: Philip Dubé <[email protected]>
  • Loading branch information
heavycrystal and serprex authored Dec 12, 2023
1 parent c0b9f1e commit 925cbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/activities/flowable.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (a *FlowableActivity) StartFlow(ctx context.Context,
tblNameMapping[v.SourceTableIdentifier] = model.NewNameAndExclude(v.DestinationTableIdentifier, v.Exclude)
}

idleTimeout := utils.GetEnvInt("PEERDB_CDC_IDLE_TIMEOUT_SECONDS", 10)
idleTimeout := utils.GetEnvInt("PEERDB_CDC_IDLE_TIMEOUT_SECONDS", 60)

recordBatch := model.NewCDCRecordStream()

Expand Down

0 comments on commit 925cbe6

Please sign in to comment.