Skip to content

Conversation

Meldiron
Copy link
Contributor

Adds state for runtimes that allows long-running executions.

@stnguyen90
Copy link
Contributor

Related issue: appwrite/appwrite#5233

@stnguyen90 stnguyen90 self-requested a review May 24, 2023 17:21
'updated' => \microtime(true)
]);

$activeRuntimes->decr($activeRuntimeId, 'executions', 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible for the count to increment, but never decrement if the code between throws an exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants