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

Create RC primary service (load balancer)

This commit is contained in:
NGnius (Graham)
2025-02-05 21:19:27 -05:00
parent 49357b2759
commit e7ceefceb3
14 changed files with 1049 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
use polariton::packet::Ping;
#[inline]
pub fn ping_pong(mut ping: Ping) -> Ping {
if ping.tick2.is_some() {
ping.tick2 = None;
} else {
ping.tick2 = Some(ping.tick1);
}
ping
}