Skip to content

Commit

Permalink
Add command-events speculative WFT flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Nov 22, 2024
1 parent b207660 commit a456e58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/worker/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ impl WorkerClient for WorkerClientBag {
namespace: self.namespace.clone(),
sdk_metadata: Some(request.sdk_metadata),
metering_metadata: Some(request.metering_metadata),
capabilities: None,
capabilities: Some(respond_workflow_task_completed_request::Capabilities {
discard_speculative_workflow_task_with_events: true,
}),
};
Ok(self
.cloned_client()
Expand Down

0 comments on commit a456e58

Please sign in to comment.