Skip to content

Commit

Permalink
fix(SocketLayer): increase default fragment size to 50
Browse files Browse the repository at this point in the history
increases default reliable message size from ~6k to ~60k
  • Loading branch information
James-Frowen authored Dec 2, 2023
1 parent 1f2f847 commit 1fdaa43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/SocketLayer/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class Config
/// <para>if set to 0 then messages over <see cref="SocketFactory.MaxPacketSize"/> will not be allowed to be sent</para>
/// <para>max value is 255</para>
/// </summary>
public int MaxReliableFragments = 5;
public int MaxReliableFragments = 50;

/// <summary>
/// Enable if the Socket you are using has its own Reliable layer. For example using Websocket, which is TCP.
Expand Down

0 comments on commit 1fdaa43

Please sign in to comment.