Unverified Commit 12d44b14 authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Bigger is better. (#2687)

* Bigger is better.

Made all request response sizes 10 times bigger.

* The smaller the better.

* Update comment.

* Ah, bigger is still better.

Max PoV size for rococo is around 50Meg, compression ratio is about 3.4.
With 30 Meg we should be fine, even with crypto kitties in the PoV.
parent 012a51b4
Pipeline #130264 canceled with stages
......@@ -91,18 +91,18 @@ impl Protocol {
let cfg = match self {
Protocol::AvailabilityFetching => RequestResponseConfig {
name: p_name,
max_request_size: 1_000,
max_response_size: 100_000,
max_request_size: 10_000,
max_response_size: 10_000_000,
inbound_queue: Some(tx),
Protocol::CollationFetching => RequestResponseConfig {
name: p_name,
max_request_size: 1_000,
max_request_size: 10_000,
/// Collations are expected to be around 10Meg, probably much smaller with
/// compression. So 10Meg should be sufficient, we might be able to reduce this
/// further.
max_response_size: 10_000_000,
/// compression. So 30Meg should be well sufficient, we might be able to reduce
/// this further, if needed.
max_response_size: 30_000_000,
// Taken from initial implementation in collator protocol:
inbound_queue: Some(tx),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment