Browser seems good to go!
This commit is contained in:
@@ -78,9 +78,9 @@ func connect_to_server() -> Error:
|
||||
socket = WebSocketPeer.new()
|
||||
|
||||
# Increase buffer sizes for large dungeon data transfers
|
||||
socket.inbound_buffer_size = 8 * 1024 * 1024 # 8MB for large state updates
|
||||
socket.outbound_buffer_size = 1024 * 1024 # 1MB for outgoing messages
|
||||
socket.max_queued_packets = 4096 # Handle burst traffic
|
||||
socket.inbound_buffer_size = 32 * 1024 * 1024 # 32MB for large state updates (web can stall)
|
||||
socket.outbound_buffer_size = 4 * 1024 * 1024 # 4MB for outgoing messages
|
||||
socket.max_queued_packets = 8192 # Handle burst traffic
|
||||
|
||||
print("[Network] Attempting connection to: ", SERVER_URL)
|
||||
var err = socket.connect_to_url(SERVER_URL)
|
||||
|
||||
Reference in New Issue
Block a user