mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -224,7 +224,7 @@ public final class ConfigSpec { | |||||||
|                 .defineInRange("max_requests", CoreConfig.httpMaxRequests, 0, Integer.MAX_VALUE); |                 .defineInRange("max_requests", CoreConfig.httpMaxRequests, 0, Integer.MAX_VALUE); | ||||||
| 
 | 
 | ||||||
|             httpMaxWebsockets = builder |             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); |                 .defineInRange("max_websockets", CoreConfig.httpMaxWebsockets, 1, Integer.MAX_VALUE); | ||||||
| 
 | 
 | ||||||
|             builder |             builder | ||||||
|   | |||||||
| @@ -98,7 +98,7 @@ | |||||||
|   "gui.computercraft.config.http.max_requests": "Maximum concurrent requests", |   "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_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": "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": "Proxy", | ||||||
|   "gui.computercraft.config.http.proxy.host": "Host name", |   "gui.computercraft.config.http.proxy.host": "Host name", | ||||||
|   "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.", |   "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.", | ||||||
|   | |||||||
| @@ -98,7 +98,7 @@ | |||||||
|   "gui.computercraft.config.http.max_requests": "Maximum concurrent requests", |   "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_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": "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": "Proxy", | ||||||
|   "gui.computercraft.config.http.proxy.host": "Host name", |   "gui.computercraft.config.http.proxy.host": "Host name", | ||||||
|   "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.", |   "gui.computercraft.config.http.proxy.host.tooltip": "The hostname or IP address of the proxy server.", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates