python - How do Google App Engine Task Queues work? -


i'm confused task execution using queues. i've read documentation , thought understood bucket_size , rate, when send 20 tasks queue set 5/h, size 5, 20 tasks execute 1 after other possible, finishing in less 1 minute.

deferred.defer(spam.cookeggs,                 egg_keys,                 _queue="tortoise")    - name: tortoise   rate: 5/h     bucket_size: 5   

what want whether create 10 or 100 tasks, want 5 of them run per hour. take 20 tasks approximately 4 hours complete. want execution spread out.

update

the problem assumed when running locally, task execution rate rules followed, not case. cannot test execution rates locally. when deployed production, rate , bucket size had set executed expected.

execution rates not honored app_devserver. issue should not occur in production.

[answer discovered nick johnson and/or question author; posting here community wiki have can marked accepted]


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -