Thank you for sharing your error and discovery here with us. As you've mentioned, the maximum number of tasks one can lease is 1000, as supported by this
Go article about Leasing tasks with Pull Queues. This is also the case for all other available runtimes. On a side note related to your earlier tests, the
taskqueue.go source code on line 355 reveals that supplying the
queueName parameter with an empty string will be substituted with the value
"default":func lease(c appengine.Context, maxTasks int, queueName string, leaseTime int, groupByTag bool, tag []byte) ([]*Task, error) { if queueName == "" { queueName = "default" } // ... } |
|
If other issues arise with this same error message, feel free to contribute more tests, results and logs here.
Cheers,