good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit 9b5b65ac authored by a's avatar a
Browse files

increase max batch size

parent bfc025a5
No related branches found
No related tags found
No related merge requests found
Pipeline #31382 failed with stage
in 25 minutes and 56 seconds
......@@ -7,10 +7,10 @@ import (
"gfx.cafe/open/jrpc/pkg/jsonrpc"
)
// 16mb... should be more than enough for any batch.
// 128mb... should be more than enough for any batch.
// you shouldn't be batching more than this. really, you shouldn't be using batching at all.
// TODO: make this configurable
const maxBatchSizeBytes = 1024 * 1024 * 1024 * 16
const maxBatchSizeBytes = 1024 * 1024 * 1024 * 128
var _ jsonrpc.ResponseWriter = (*streamingRespWriter)(nil)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment