Skip to content

Feat: Active executions state#25

Open
Meldiron wants to merge 4 commits into
mainfrom
feat-long-running-executions
Open

Feat: Active executions state#25
Meldiron wants to merge 4 commits into
mainfrom
feat-long-running-executions

Conversation

@Meldiron

Copy link
Copy Markdown
Contributor

Adds state for runtimes that allows long-running executions.

Comment thread app/http.php
@stnguyen90

Copy link
Copy Markdown
Contributor

Related issue: appwrite/appwrite#5233

@stnguyen90 stnguyen90 self-requested a review May 24, 2023 17:21
Comment thread app/http.php
'updated' => \microtime(true)
]);

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

Copy link
Copy Markdown
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