gpt4 book ai didi

google-cloud-platform - 如何控制 Google Cloud Tasks 中的任务重复数据删除功能

转载 作者:行者123 更新时间:2023-12-04 11:23:25 28 4
gpt4 key购买 nike

我在这里查看文档:
https://cloud.google.com/tasks/docs/dual-overview
在配额中:
https://cloud.google.com/tasks/docs/quotas
我仍然不确定如何启用或禁用此重复数据删除功能。
不知道能不能设置Task de-duplication window

最佳答案

任务重复数据删除是指确保您没有重复的任务名称。
doc它是这样工作的:

Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with google.rpc.Code.ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task with the same name can't be created for ~1hour after the original task was deleted or executed.
If the task's queue was created using queue.yaml or queue.xml, then another task with the same name can't be created for ~9days after the original task was deleted or executed.


Because there is an extra lookup cost to identify duplicate task names, these tasks.create calls have significantly increased latency.

关于google-cloud-platform - 如何控制 Google Cloud Tasks 中的任务重复数据删除功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63958798/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com