Lower recursion limit on debug builds

This commit is contained in:
Noah committed 2020-03-15 13:50:53 -05:00
1 parent 56eb656fdd
commit ddc461ce7f
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ impl VirtualMachine {
use_tracing: RefCell::new(false),
signal_handlers,
settings,
recursion_limit: Cell::new(512),
recursion_limit: Cell::new(if cfg!(debug_assertions) { 256 } else { 512 }),
codec_registry: RefCell::default(),
initialized: false,
};