App Engine 任务队列等待限制

发布于 2024-10-05 03:49:56 字数 411 浏览 4 评论 0原文

在发生事件之前,任务可以在任务队列中等待处理多长时间?如果不是永远,那么可能会发生什么?

我可以将大量任务添加到处理率非常低的队列中,并在几天/几周/几个月内处理它们吗?

如果任务等待时间过长,是否会从队列中弹出?

任务队列配额和限制

maximum countdown/ETA for a task:30 days from the current date and time

我认为这是在谈论有意/以编程方式设置未来的 eta,而不是允许任务等待多长时间。

How long can a task sit in the task queue waiting to be processed before something happens? If its not forever, what are those somethings that might happen?

Can I add a very large number of tasks to a queue that has a very low processing rate and have them be processed over the course of days/weeks/months?

Are tasks ejected from the queue if they're waiting for their turn too long?

Task Queue Quota and Limits says

maximum countdown/ETA for a task:30 days from the current date and time

I think that's talking about intentionally/programatically setting an eta in the future, not how long a task is allowed to wait for its turn.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

开始看清了 2024-10-12 03:49:56

除了分配给存储任务的存储量之外,队列中可以包含的任务数量没有限制。同样,它们可以等待执行的时间也没有限制,但正如您所指出的,您不能将预计到达时间安排在未来超过 30 天的任务。

There's no limit on how many tasks you can have in your queue, other than the amount of storage you have allocated to storing tasks. There's likewise no limit how long they can wait to execute, though as you point out, you can't schedule a task with an ETA more than 30 days in the future.

隔纱相望 2024-10-12 03:49:56

据我所知,它们会永远存在。我已经有一些在他们里面好几天了。现在我有一些已经 9 天了,尽管队列已暂停。唯一的限制是队列大小和计数(目前尚未强制执行 )。

As far as I know they last forever. I have had some in their for days. Right now I have some that are 9 days old, although the queue is paused. The only limit is the queue size and count (which are not currently enforced).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文