RJR
Convex Community3y ago
30 replies
RJ

`"ExpiredInQueue"`, `"Too many concurrent requests…"`

I'm receiving the following error in one of my actions, and am having trouble understanding why.

{"code":"ExpiredInQueue","message":"Too many concurrent requests, backoff and try again."}


This is occurring in an action (called extractProductListings) which is doing a few different things, including executing http requests, mutations and queries, but it is limited to performing only a max of 10 of these concurrently.

However, extractProductListings is being executed by another action, which is executing extractProductListings many times concurrently. These all comprise a scraping script, which is intended to perform a lot of computation (web requests, queries, and mutations) simultaneously in a short period of time.

I've tried to be mindful of conforming to the limits described here (https://docs.convex.dev/functions/actions#limits), and believe I am conforming to them, so I'm wondering if there could be some constraints not described in the docs that I'm running into. Is it the case, for example, that there are global concurrency limits (per Convex account) which I'm encountering? Or perhaps there's something else I might not be considering?
Was this page helpful?