1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Set some reasonable limits for sending information to the debugger, closes #5848

This commit is contained in:
Juan Linietsky
2017-08-08 20:55:22 -03:00
parent df573f5c3a
commit 90a595ac42
4 changed files with 24 additions and 12 deletions

View File

@@ -945,6 +945,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() {
tcp_client = StreamPeerTCP::create_ref();
packet_peer_stream = Ref<PacketPeerStream>(memnew(PacketPeerStream));
packet_peer_stream->set_stream_peer(tcp_client);
packet_peer_stream->set_output_buffer_max_size(1024 * 1024 * 8); //8mb should be way more than enough
mutex = Mutex::create();
locking = false;