Help articles

Functions rate limit

Rate limiting helps prevent recursive functions from running indefinitely.

You may have received an error or notification regarding rate limits or concurrency when running your Functions.

If a function is invoked with the same document more than 10 times within 30s, we will not execute further function calls until the rate drops below 10 times in 30s again. This will typically prevent runaway recursive functions as the 11th call will no longer be able to trigger itself and the chain will stop.

If functions from a single project are invoked more than 200 times within 30s, we will not execute further function calls until the rate drops below 10 times in 30s. This limit is to prevent a single project with many documents from all running at the same time and using up all of our concurrency.

To prevent these errors, avoid situations where a function will cause a mutation that triggers itself.

Was this page helpful?