You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,9 @@ public class SimpleWebTransport : Transport, PortTransport
31
31
[Tooltip("Caps the number of messages the client will process per tick. Allows LateUpdate to finish to let the reset of unity continue in case more messages arrive before they are processed")]
32
32
publicintclientMaxMsgsPerTick=1000;
33
33
34
+
[Tooltip("Maximum number of messages that can be in the send queue before the connection is closed. This prevents slow connections from using too much memory on the server.")]
35
+
publicintmaxSendQueueSize=1000;
36
+
34
37
[Tooltip("Send would stall forever if the network is cut off during a send, so we need a timeout (in milliseconds)")]
35
38
publicintsendTimeout=5000;
36
39
@@ -293,7 +296,7 @@ public override void ServerStart()
293
296
Log.Warn("[SWT-ServerStart]: Server Already Started");
0 commit comments