Skip to content

Commit

Permalink
Increase response nodes cap heuristic a bit (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored Oct 12, 2023
1 parent 978987c commit d39235f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light-base/src/sync_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ impl<TPlat: PlatformRef> SyncService<TPlat> {
// Number of nodes that are possible in a response before exceeding the response size
// limit. Because the size of a trie node is unknown, this can only ever be a gross
// estimate.
let mut response_nodes_cap = (1024 * 1024) / 164;
let mut response_nodes_cap = (16 * 1024 * 1024) / 164;

let mut randomness = rand_chacha::ChaCha20Rng::from_seed({
let mut seed = [0; 32];
Expand Down

0 comments on commit d39235f

Please sign in to comment.