Reputation: 909
I want to create batches of queue items and execute after every 10 second, due to some limitation of third party API using inside code (Third party API have 1000 API call per minute).
But i don't know how do i achieve the given requirement in App Engine with taskqueue.
Or
It is possible to create batches with taskqueue push?
Upvotes: 0
Views: 139
Reputation: 2150
TaskQueue Task
s have a Delay time.Duration
as well as ETA time.Time
fields which can be used to create and delay tasks. I believe you can reuse the top example but set one of the fields before calling taskqueue.Add(c, t, "")
Upvotes: 1