From 06d9f9a92013d8264274ac6959be5f6cf3e91eb1 Mon Sep 17 00:00:00 2001 From: Lord-McSweeney Date: Sat, 18 Jan 2025 12:27:39 -0800 Subject: [PATCH] avm2: Increase actions before timeout check --- core/src/avm2/activation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm2/activation.rs b/core/src/avm2/activation.rs index 57173d633fbe..7d02a06643e4 100644 --- a/core/src/avm2/activation.rs +++ b/core/src/avm2/activation.rs @@ -784,7 +784,7 @@ impl<'a, 'gc> Activation<'a, 'gc> { opcodes: &[Op<'gc>], ) -> Result, Error<'gc>> { self.actions_since_timeout_check += 1; - if self.actions_since_timeout_check >= 64000 { + if self.actions_since_timeout_check >= 200000 { self.actions_since_timeout_check = 0; if self.context.update_start.elapsed() >= self.context.max_execution_duration { return Err(