更新任务队列名称,将 Python 和 Go Worker 的任务队列分别改为 "python-task-queue" 和 "data-task-queue" 以保持一致性
This commit is contained in:
parent
ae42336160
commit
a299cf384c
@ -19,7 +19,7 @@ func StartWorkflow(cnf *config.TemporalConfig) error {
|
||||
}
|
||||
defer c.Close()
|
||||
|
||||
taskQueue := "test-task-queue"
|
||||
taskQueue := "data-task-queue"
|
||||
|
||||
// 创建一个监听指定任务队列的 Worker。
|
||||
w := worker.New(c, taskQueue, worker.Options{})
|
||||
|
@ -19,7 +19,7 @@ async def main():
|
||||
# 创建 Worker
|
||||
worker = Worker(
|
||||
client,
|
||||
task_queue="test-task-queue", # 保持与 Go Client 一致
|
||||
task_queue="python-task-queue", # 保持与 Go Client 一致
|
||||
activities=[activities.run_api_test,activities.run_ui_test]
|
||||
)
|
||||
print("Starting Python Temporal Worker...")
|
||||
|
Loading…
Reference in New Issue
Block a user