pub fn info_extra_weight(req: &InfoRequest, json: &Value) -> u32
Expand description
Extra weight for heavy Info endpoints: +1 per 20 (most), +1 per 60 for candleSnapshot. We count the largest array in the response (robust to schema variants).
pub fn info_extra_weight(req: &InfoRequest, json: &Value) -> u32
Extra weight for heavy Info endpoints: +1 per 20 (most), +1 per 60 for candleSnapshot. We count the largest array in the response (robust to schema variants).