Skip to content

Commit 99af1fe

Browse files
committed
increase buffer sizes
1 parent 7bcbbf7 commit 99af1fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mirror-godot-app/scripts/net/web_socket_client.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ signal message_received(message: Variant)
1818

1919

2020
func connect_to_url(url) -> int:
21-
_socket.set_inbound_buffer_size(_socket.get_inbound_buffer_size() * 4)
22-
_socket.set_outbound_buffer_size(_socket.get_outbound_buffer_size() * 4)
21+
_socket.set_inbound_buffer_size(_socket.get_inbound_buffer_size() * 16)
22+
_socket.set_outbound_buffer_size(_socket.get_outbound_buffer_size() * 16)
2323
_socket.supported_protocols = supported_protocols
2424
_socket.handshake_headers = handshake_headers
2525
var tls := TLSOptions.client(tls_trusted_certificate)

0 commit comments

Comments
 (0)