Skip to content

Commit

Permalink
streamingest: speed-up c2c cutover
Browse files Browse the repository at this point in the history
Each c2c processor checks the job info table every 30 seconds to see
whether a cutover has started. Normally a cutover should take about
10 seconds. This pr changes the default to 10 seconds, to reduce
the total time for cutting over.

Epic: none

Release note: None
  • Loading branch information
lidorcarmel committed Aug 17, 2023
1 parent 9849680 commit ad7ea95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var cutoverSignalPollInterval = settings.RegisterDurationSetting(
settings.TenantWritable,
"bulkio.stream_ingestion.cutover_signal_poll_interval",
"the interval at which the stream ingestion job checks if it has been signaled to cutover",
30*time.Second,
10*time.Second,
settings.NonNegativeDuration,
)

Expand Down

0 comments on commit ad7ea95

Please sign in to comment.