INVALID_REQUEST error in pull tasks

I use the queue queue in Appengine for Go, and while the local leasing tasks worked fine, when I deployed my code, calling taskqueue.Lease gave me this error:

API error 13 (taskqueue: INVALID_REQUEST)

My personal challenge was:

tasks, err := taskqueue.Lease(ctx, 100, "pullqueue", 60)

And this happened regardless of the parameters that I pass, for example the parameters for the empty queue name. Has anyone else got this error? Thanks in advance for your help!

+4
source share
1 answer

Nvm in my real code, I leased 2,000 jobs, but the maximum amount I can rent is actually 1,000.

0
source

Source: https://habr.com/ru/post/1623979/


All Articles