perf(runtime): split trigger evals from the blocking pool; bounded, deadline-aware execution
This commit is contained in:
@@ -374,7 +374,7 @@ public class InstanceActor : ReceiveActor
|
||||
/// Fire-and-forget an <c>instance_lifecycle</c> operational event to the
|
||||
/// optional <see cref="ISiteEventLogger"/>. Resolved optionally and never
|
||||
/// awaited so a logging failure cannot affect the instance lifecycle
|
||||
/// (matching the established ScriptActor/ScriptExecutionActor pattern).
|
||||
/// (matching the established ScriptActor / script-run pattern).
|
||||
/// </summary>
|
||||
private void LogLifecycleEvent(string message)
|
||||
{
|
||||
@@ -1666,8 +1666,8 @@ public class InstanceActor : ReceiveActor
|
||||
{
|
||||
Script<object?>? onTriggerScript = null;
|
||||
// The on-trigger script's per-script execution timeout,
|
||||
// captured from its ResolvedScript so the AlarmExecutionActor can
|
||||
// apply perScript ?? global. Null when there is no on-trigger script.
|
||||
// captured from its ResolvedScript so the launched on-trigger run
|
||||
// can apply perScript ?? global. Null when there is no on-trigger script.
|
||||
int? onTriggerTimeoutSeconds = null;
|
||||
|
||||
// Compile on-trigger script if defined
|
||||
|
||||
Reference in New Issue
Block a user