antony.trupe
antony.trupe

Reputation: 10824

app engine task queue wait limit

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.

Upvotes: 5

Views: 1148

Answers (2)

Nick Johnson
Nick Johnson

Reputation: 101139

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.

Upvotes: 5

Iain
Iain

Reputation: 11234

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).

Upvotes: 1

Related Questions