From 1788afacfc99c444ea595bcef935c56f99c6df6b Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sun, 21 Jan 2024 16:32:07 +0000 Subject: [PATCH] Remove note about disabling websocket limits I suspect this was copied from the file limit, which can be turned off by setting to 0. Fixes #1691 --- .../java/dan200/computercraft/shared/config/ConfigSpec.java | 2 +- .../generated/resources/assets/computercraft/lang/en_us.json | 2 +- .../generated/resources/assets/computercraft/lang/en_us.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/common/src/main/java/dan200/computercraft/shared/config/ConfigSpec.java b/projects/common/src/main/java/dan200/computercraft/shared/config/ConfigSpec.java index 1369a770d..0be520ba5 100644 --- a/projects/common/src/main/java/dan200/computercraft/shared/config/ConfigSpec.java +++ b/projects/common/src/main/java/dan200/computercraft/shared/config/ConfigSpec.java @@ -224,7 +224,7 @@ public final class ConfigSpec { .defineInRange("max_requests", CoreConfig.httpMaxRequests, 0, Integer.MAX_VALUE); httpMaxWebsockets = builder - .comment("The number of websockets a computer can have open at one time. Set to 0 for unlimited.") + .comment("The number of websockets a computer can have open at one time.") .defineInRange("max_websockets", CoreConfig.httpMaxWebsockets, 1, Integer.MAX_VALUE); builder diff --git a/projects/fabric/src/generated/resources/assets/computercraft/lang/en_us.json b/projects/fabric/src/generated/resources/assets/computercraft/lang/en_us.json index 151c59d97..4a34432d1 100644 --- a/projects/fabric/src/generated/resources/assets/computercraft/lang/en_us.json +++ b/projects/fabric/src/generated/resources/assets/computercraft/lang/en_us.json @@ -98,7 +98,7 @@ "gui.computercraft.config.http.max_requests": "Maximum concurrent requests", "gui.computercraft.config.http.max_requests.tooltip": "The number of http requests a computer can make at one time. Additional requests\nwill be queued, and sent when the running requests have finished. Set to 0 for\nunlimited.\nRange: > 0", "gui.computercraft.config.http.max_websockets": "Maximum concurrent websockets", - "gui.computercraft.config.http.max_websockets.tooltip": "The number of websockets a computer can have open at one time. Set to 0 for unlimited.\nRange: > 1", + "gui.computercraft.config.http.max_websockets.tooltip": "The number of websockets a computer can have open at one time.\nRange: > 1", "gui.computercraft.config.http.proxy": "Proxy", "gui.computercraft.config.http.proxy.host": "Host name", "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.", diff --git a/projects/forge/src/generated/resources/assets/computercraft/lang/en_us.json b/projects/forge/src/generated/resources/assets/computercraft/lang/en_us.json index 151c59d97..4a34432d1 100644 --- a/projects/forge/src/generated/resources/assets/computercraft/lang/en_us.json +++ b/projects/forge/src/generated/resources/assets/computercraft/lang/en_us.json @@ -98,7 +98,7 @@ "gui.computercraft.config.http.max_requests": "Maximum concurrent requests", "gui.computercraft.config.http.max_requests.tooltip": "The number of http requests a computer can make at one time. Additional requests\nwill be queued, and sent when the running requests have finished. Set to 0 for\nunlimited.\nRange: > 0", "gui.computercraft.config.http.max_websockets": "Maximum concurrent websockets", - "gui.computercraft.config.http.max_websockets.tooltip": "The number of websockets a computer can have open at one time. Set to 0 for unlimited.\nRange: > 1", + "gui.computercraft.config.http.max_websockets.tooltip": "The number of websockets a computer can have open at one time.\nRange: > 1", "gui.computercraft.config.http.proxy": "Proxy", "gui.computercraft.config.http.proxy.host": "Host name", "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.",