Skip to content

Commit

Permalink
Enable MTU expansion by default.
Browse files Browse the repository at this point in the history
Due to yet another need to lower the MTU we should enable this by default. Improves network efficiency.
  • Loading branch information
PJB3005 committed Mar 23, 2024
1 parent e484eac commit 919ec01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ END TEMPLATE-->
* `CheckBox`'s interior texture is now vertically centered.
* Lidgren.Network has been updated to [`v0.3.0`](https://github.com/space-wizards/SpaceWizards.Lidgren.Network/blob/v0.3.0/RELEASE-NOTES.md).
* Lowered default IPv4 MTU to 900 (from 1000).
* Automatic MTU expansion (`net.mtu_expand`) is now enabled by default.

### Internal

Expand Down
2 changes: 1 addition & 1 deletion Robust.Shared/CVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected CVars()
/// <seealso cref="NetMtuExpandFrequency"/>
/// <seealso cref="NetMtuExpandFailAttempts"/>
public static readonly CVarDef<bool> NetMtuExpand =
CVarDef.Create("net.mtu_expand", false, CVar.ARCHIVE);
CVarDef.Create("net.mtu_expand", true, CVar.ARCHIVE);

/// <summary>
/// Interval between MTU expansion attempts, in seconds.
Expand Down

0 comments on commit 919ec01

Please sign in to comment.