You've already forked godot
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user