mirror of
https://git.neonteam.dev/amizing/robinsr.git
synced 2025-03-12 03:28:30 -04:00
feat: Increase max packet sizes to 1400
This commit is contained in:
parent
2a6a1bd982
commit
3389799c26
@ -19,7 +19,7 @@ use tokio::{
|
|||||||
|
|
||||||
use crate::net::packet::NetOperation;
|
use crate::net::packet::NetOperation;
|
||||||
|
|
||||||
const MAX_PACKET_SIZE: usize = 1200;
|
const MAX_PACKET_SIZE: usize = 1400;
|
||||||
|
|
||||||
pub struct Gateway {
|
pub struct Gateway {
|
||||||
socket: Arc<UdpSocket>,
|
socket: Arc<UdpSocket>,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user