onelson / estuary

33 stars 8 forks source link

Set maximum payload size to `10MB` #35

Open fuzzypixelz opened 2 months ago

fuzzypixelz commented 2 months ago

This increases the maximum payload size for the entire Actix app to 10MB.

We've hit the size limit while publishing Eclipse Zenoh 1.0.0-alpha.1:

error: failed to publish to registry at http://localhost:7878
  Caused by:
    failed to get a 200 OK response, got 413
    headers:
        HTTP/1.1 413 Payload Too Large
        content-length: 29
        content-type: text/plain; charset=utf-8
        date: Thu, 20 Jun 2024 13:51:03 GMT

    body:
    A payload reached size limit.

For reference crates.io has a maximum upload size of 10MB.

diogomatsubara commented 2 months ago

@onelson could you take a look at this PR?