Skip to content

Commit ce5d8dd

Browse files
authored
Replace WorkflowIdReusePolicy.TerminateExisting by WorkflowIdConflictPolicy (temporalio#266)
1 parent 5e9d1c7 commit ce5d8dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

message_passing/safe_message_handlers/starter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async def main(should_test_continue_as_new: bool):
6565
ClusterManagerInput(test_continue_as_new=should_test_continue_as_new),
6666
id=f"ClusterManagerWorkflow-{uuid.uuid4()}",
6767
task_queue="safe-message-handlers-task-queue",
68-
id_reuse_policy=common.WorkflowIDReusePolicy.TERMINATE_IF_RUNNING,
68+
id_conflict_policy=common.WorkflowIDConflictPolicy.TERMINATE_EXISTING,
6969
)
7070
delay_seconds = 10 if should_test_continue_as_new else 1
7171
await do_cluster_lifecycle(cluster_manager_handle, delay_seconds=delay_seconds)

0 commit comments

Comments
 (0)