Skip to content

Question on maximum basket size #116

Closed Answered by imRohan
tpalgut asked this question in Q&A
Jan 14, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@tpalgut That's a good question!

There are 2 size limitations that have been added to Pantry.

First, there is a hard limit of 1.44mb for each basket (link to line), and second, it seems like the middleware I'm using to parse the request (body-parser) has a default limit of 100kb per transaction.

I'll create an issue to fix the 100kb request size (which will solve your 413 response issue), however, you will still not be able to have a basket with a max size greater than 1.44mb.

Depending on performance and costs, I could bump the max size to 2mb.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tpalgut
Comment options

@imRohan
Comment options

Answer selected by imRohan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants