feat: config for size of property
fix: websocket server now can receive large messages fix: buffer resize on read array
This commit is contained in:
@@ -56,9 +56,11 @@ namespace Ragon.Relay
|
||||
var serverConfiguration = new RagonServerConfiguration()
|
||||
{
|
||||
LimitConnections = configuration.LimitConnections,
|
||||
LimitRooms = configuration.LimitConnections,
|
||||
LimitBufferedEvents = configuration.LimitConnections,
|
||||
LimitPlayersPerRoom = configuration.LimitConnections,
|
||||
LimitRooms = configuration.LimitRooms,
|
||||
LimitBufferedEvents = configuration.LimitBufferedEvents,
|
||||
LimitPlayersPerRoom = configuration.LimitPlayersPerRoom,
|
||||
LimitUserDataSize = configuration.LimitUserDataSize,
|
||||
LimitPropertySize = configuration.LimitPropertySize,
|
||||
Port = configuration.Port,
|
||||
Protocol = configuration.Protocol,
|
||||
ServerKey = configuration.ServerKey,
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace Ragon.Relay
|
||||
public int LimitPlayersPerRoom;
|
||||
public int LimitRooms;
|
||||
public int LimitBufferedEvents;
|
||||
public int LimitUserData;
|
||||
public int LimitUserDataSize;
|
||||
public int LimitPropertySize;
|
||||
}
|
||||
}
|
||||
@@ -4,10 +4,11 @@
|
||||
"serverAddress": "*",
|
||||
"serverTickRate": 30,
|
||||
"protocol": "1.0.0",
|
||||
"port": 5000,
|
||||
"port": 8000,
|
||||
"limitConnections": 4095,
|
||||
"limitPlayersPerRoom": 20,
|
||||
"limitRooms": 200,
|
||||
"limitBufferedEvents": 50,
|
||||
"limitUserData": 1024
|
||||
"limitUserDataSize": 1024,
|
||||
"limitPropertySize": 512
|
||||
}
|
||||
Reference in New Issue
Block a user