pub const DEFAULT_WINDOW: usize = 20;Expand description
Default speculation window: both the initial size and the ceiling growth may not pass (a documented default).
It is a ceiling and not only a starting point because the cost model
quoted everywhere else depends on it being one. A round’s fleet cost
is about 1 + p*k/2 and its tail about 1 + p*k, and both are
unbounded statements unless k is. Additive increase still runs –
it is what walks the window back up to this ceiling after a
multiplicative decrease – it just cannot walk past it. TCP calls the
same thing a maximum congestion window; a controller with only the
increase half is not flow control, it is a ramp.
MergeQueue::set_max_window raises or lowers it per queue.