Skip to content

Commit bc98d6b

Browse files
committed
delete max target time
1 parent 7583ee8 commit bc98d6b

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

openapi/openapiv2.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18366,11 +18366,6 @@
1836618366
"maxElapsedDuration": {
1836718367
"type": "string",
1836818368
"description": "Maximum elapsed time since time skipping was enabled.\nThis includes both skipped time and real time elapsing."
18369-
},
18370-
"maxTargetTime": {
18371-
"type": "string",
18372-
"format": "date-time",
18373-
"description": "Absolute virtual timestamp at which time skipping is disabled.\nTime skipping will not advance beyond this point."
1837418369
}
1837518370
},
1837618371
"description": "Configuration for time skipping during a workflow execution.\nWhen enabled, virtual time advances automatically whenever there is no in-flight work.\nIn-flight work includes activities, child workflows, Nexus operations, signal/cancel external workflow operations,\nand possibly other features added in the future.\nUser timers are not classified as in-flight work and will be skipped over.\nWhen time advances, it skips to the earlier of the next user timer or the configured bound, if either exists."

openapi/openapiv3.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16260,12 +16260,6 @@ components:
1626016260
description: |-
1626116261
Maximum elapsed time since time skipping was enabled.
1626216262
This includes both skipped time and real time elapsing.
16263-
maxTargetTime:
16264-
type: string
16265-
description: |-
16266-
Absolute virtual timestamp at which time skipping is disabled.
16267-
Time skipping will not advance beyond this point.
16268-
format: date-time
1626916263
description: |-
1627016264
Configuration for time skipping during a workflow execution.
1627116265
When enabled, virtual time advances automatically whenever there is no in-flight work.

temporal/api/workflow/v1/message.proto

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,8 @@ message WorkflowExecutionOptions {
592592
// User timers are not classified as in-flight work and will be skipped over.
593593
// When time advances, it skips to the earlier of the next user timer or the configured bound, if either exists.
594594
message TimeSkippingConfig {
595-
reserved 2;
596-
reserved "disable_propagation";
595+
reserved 2, 6;
596+
reserved "disable_propagation", "max_target_time";
597597

598598
// Enables or disables time skipping for this workflow execution.
599599
bool enabled = 1;
@@ -615,18 +615,13 @@ message TimeSkippingConfig {
615615
// - Continue-as-new is an exception: continued workflow executions are treated as extensions of the
616616
// original execution, so the bound is shared across all executions in the chain.
617617
oneof bound {
618-
619618
// Maximum total virtual time that can be skipped.
620619
google.protobuf.Duration max_skipped_duration = 4;
621620

622621
// Maximum elapsed time since time skipping was enabled.
623622
// This includes both skipped time and real time elapsing.
624623
// (-- api-linter: core::0142::time-field-names=disabled --)
625624
google.protobuf.Duration max_elapsed_duration = 5;
626-
627-
// Absolute virtual timestamp at which time skipping is disabled.
628-
// Time skipping will not advance beyond this point.
629-
google.protobuf.Timestamp max_target_time = 6;
630625
}
631626
}
632627

0 commit comments

Comments
 (0)