Skip to content

Commit

Permalink
Duh, 1
Browse files Browse the repository at this point in the history
  • Loading branch information
SamB440 committed Sep 24, 2024
1 parent c354b44 commit cc9273d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ac/grim/grimac/manager/ConfigManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void reload() {
final int configuredMaxTransactionTime = config.getIntElse("max-transaction-time", 60);
maxPingTransaction = (int) GrimMath.clamp(configuredMaxTransactionTime, 1, 180);
if (maxPingTransaction != configuredMaxTransactionTime) {
LogUtil.warn("Detected invalid max-transaction-time! This setting is clamped between 0 and 180 to prevent issues. " +
LogUtil.warn("Detected invalid max-transaction-time! This setting is clamped between 1 and 180 to prevent issues. " +
"Changed: " + configuredMaxTransactionTime + " -> " + maxPingTransaction);
LogUtil.warn("Attempting to disable or set this too high can result in memory usage issues.");
}
Expand Down

0 comments on commit cc9273d

Please sign in to comment.