1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add max_bulk_resend parameter for multiplayer server networking

This commit is contained in:
NG (Graham)
2026-01-24 18:36:29 -05:00
parent 753e9b0f51
commit 0db43497d8
2 changed files with 4 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ pub struct NetworkConf {
pub resend_delay_rtt_mult: f64,
pub network_peer_update_interval: i32,
pub max_delay_for_disconnect_ms: i32,
pub max_bulk_resend: u8,
}
pub(super) fn default_net_conf() -> NetworkConf {
@@ -90,6 +91,7 @@ pub(super) fn default_net_conf() -> NetworkConf {
resend_delay_rtt_mult: 0.5,
network_peer_update_interval: 1,
max_delay_for_disconnect_ms: 5000,
max_bulk_resend: 2,
}
}