AppEngine中的任务名称有多长时间? [英] For how long are task names tombstoned in AppEngine?

查看:68
本文介绍了AppEngine中的任务名称有多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当将任务添加到AppEngine中的队列中时,任务名称无法在一段时间内重复使用(称为墓碑式)。我无法在文档中找到墓碑的持续时间或以任何方式修改它。



邻域中唯一击中的是 TaskOptions .Builder.etaMillis(),它设置任务的预期持续时间(对于,我不知道)。这与墓碑的持续时间没有文件上的关系。

那么,有人对此有深入的了解?

解决方案

没有定义。这意味着开发人员不能设置它,也不会期望一个近似的逻辑删除时间值。



GAE团队可以任意设置一定时间,或者动态设置系统。



如果您不想在特定的时间内运行相同的任务,您应该真正为其构建自己的工作流实施。 :)

When adding tasks to a queue in AppEngine, task names cannot be reused for a certain amount of time (said to be "tombstoned"). I could not find the duration of the tombstone in the documentation or any way to modify it.

The only thing that hits in the neighborhood is TaskOptions.Builder.etaMillis(), which sets the expected duration of the task (what for, I don't know). There is no documented relationship between this and the tombstone duration.

So, anyone with insight on this?

解决方案

It's undefined. This means that developers cannot set it, nor expect an approximate tombstone duration value.

The "certain amount of time" may be arbitrarily set by the GAE team or dynamically set by the system.

If you don't want to run the same tasks during a specific amount of time, you should just really build your own workflow implementation for it. :)

这篇关于AppEngine中的任务名称有多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆