Skip to content

Commit

Permalink
Lower default number of storage instances per packet
Browse files Browse the repository at this point in the history
This fixes rare cases where the terminal would cause client disconnects
on large networks due to too many (and large) storage instances would be
sent per packet from server to client.

Closes #112
  • Loading branch information
rubensworks committed Dec 4, 2023
1 parent 90c63a6 commit de99d30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class GeneralConfig extends DummyConfig {
public static boolean versionChecker = true;

@ConfigurableProperty(category = "core", comment = "The maximum number of terminal storage instances that can be sent in a single packet. Reduce this when you have packet overflows.", isCommandable = true, configLocation = ModConfig.Type.SERVER)
public static int terminalStoragePacketMaxInstances = 1024;
public static int terminalStoragePacketMaxInstances = 512;
@ConfigurableProperty(category = "core", comment = "The maximum number of terminal storage crafting recipes that can be sent in a single packet. Reduce this when you have packet overflows.", isCommandable = true, configLocation = ModConfig.Type.SERVER)
public static int terminalStoragePacketMaxRecipes = 128;

Expand Down

0 comments on commit de99d30

Please sign in to comment.