Bump DAP requests timeout to 5 seconds

This commit is contained in:
Ricardo Subtil 2024-10-03 21:28:25 +01:00
parent 0d098d3cca
commit 9dd7a8ae42
2 changed files with 1 additions and 3 deletions

View file

@ -30,7 +30,6 @@
#include "debug_adapter_parser.h" #include "debug_adapter_parser.h"
#include "core/variant/variant.h"
#include "editor/debugger/debug_adapter/debug_adapter_types.h" #include "editor/debugger/debug_adapter/debug_adapter_types.h"
#include "editor/debugger/editor_debugger_node.h" #include "editor/debugger/editor_debugger_node.h"
#include "editor/debugger/script_editor_debugger.h" #include "editor/debugger/script_editor_debugger.h"

View file

@ -35,7 +35,6 @@
#include "core/io/stream_peer_tcp.h" #include "core/io/stream_peer_tcp.h"
#include "core/io/tcp_server.h" #include "core/io/tcp_server.h"
#include "core/object/object_id.h"
#include "debug_adapter_parser.h" #include "debug_adapter_parser.h"
#include "debug_adapter_types.h" #include "debug_adapter_types.h"
#include "scene/debugger/scene_debugger.h" #include "scene/debugger/scene_debugger.h"
@ -117,7 +116,7 @@ private:
bool _processing_stackdump = false; bool _processing_stackdump = false;
int _remaining_vars = 0; int _remaining_vars = 0;
int _current_frame = 0; int _current_frame = 0;
uint64_t _request_timeout = 1000; uint64_t _request_timeout = 5000;
bool _sync_breakpoints = false; bool _sync_breakpoints = false;
String _current_request; String _current_request;