Enforce (subrequest | service) limits during local dev #13210
Friss
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the solution
I've been working on some new workers that parse data and sync it to various places and while testing locally I had no issues with the code and everything worked.
Once I deployed the code I quickly ran into the sub request limits that are enforced while deployed in production. This was unexpected and gave a false sense that my code was working as expected.
Ideally out of the box you would get the same request limits that are enforced in prod but can also be configured for tighter constraints (i.e. I want half the limit to have good headroom in prod).
Another limit I hit was the durable object statement max length. Again, the code worked fine locally and then once deployed it failed right away.
https://developers.cloudflare.com/durable-objects/platform/limits/#sql-storage-limits
As discussed on discord:
https://discord.com/channels/595317990191398933/779390076219686943/1447890372167733268
Beta Was this translation helpful? Give feedback.
All reactions