Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions crates/ct_worker/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,12 @@
"max_sequence_skips": {
"type": "integer",
"default": 0,
"description": "The maximum number of times sequencing can be skipped to avoid creating partial tiles. If non-zero, pending entries may be delayed by a multiple of the sequence interval."
"description": "The maximum number of times sequencing can be skipped to avoid creating partial tiles. If non-zero, pending entries may be delayed by either a multiple of the sequence interval or sequence_skip_threshold_millis if set."
},
"sequence_skip_threshold_millis": {
"type": "integer",
"default": 0,
"description": "If non-zero, entries will only be skipped by sequencing (when max_sequenced_skips is non-zero) if they have been in the pool for less than this timeout."
},
"num_batchers": {
"type": "integer",
Expand All @@ -90,7 +95,7 @@
"type": "integer",
"minimum": 100,
"default": 1000,
"description": "The maximum time to wait before submitting a batch to the sequencer, in milliseconds."
"description": "The maximum duration to wait before submitting a batch to the sequencer, in milliseconds."
},
"max_batch_entries": {
"type": "integer",
Expand Down
1 change: 1 addition & 0 deletions crates/ct_worker/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub struct LogParams {
pub sequence_interval_millis: u64,
#[serde(default = "default_max_sequence_skips")]
pub max_sequence_skips: usize,
pub sequence_skip_threshold_millis: Option<u64>,
#[serde(default = "default_num_batchers")]
pub num_batchers: u8,
#[serde(default = "default_batch_timeout_millis")]
Expand Down
Loading