From bbb38ac1064e9fdf944bb186eb1dd9a9d19589f2 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Tue, 23 Oct 2018 10:25:01 -0700 Subject: [PATCH] Increase window size (#1578) Addresses the following problem - Validators are not able to keep up with the leader - The future blobs (outside of window) get dropped - The validators won't process repair requests for these future blobs --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index dcf5e38a045842..609e75361160e5 100644 --- a/src/window.rs +++ b/src/window.rs @@ -17,7 +17,7 @@ use std::net::SocketAddr; use std::sync::atomic::AtomicUsize; use std::sync::{Arc, RwLock}; -pub const WINDOW_SIZE: u64 = 2 * 1024; +pub const WINDOW_SIZE: u64 = 32 * 1024; #[derive(Default, Clone)] pub struct WindowSlot {