Skip to content

Enforce (subrequest | service) limits during local dev #11582

@Friss

Description

@Friss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions