pub const THRESHOLD_FACTOR: u32 = 2;
Expand description
host_config.max_upward_queue_size / THRESHOLD_FACTOR
is the threshold after which delivery
starts getting exponentially more expensive.
2
means the price starts to increase when queue is half full.