Add max_bulk_resend parameter for multiplayer server networking

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

No files matched your search

+2
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,
}
}