Skip to content

Conversation

@loks0n
Copy link
Member

@loks0n loks0n commented Dec 30, 2025

Executor has a 'maintenance' task that removes inactive runtimes on an interval:

Console::info('Starting maintenance interval...');

If we switch to coroutines, this will be started many times, we need to remove the code from the initialisation of Docker class and put it in the server startup hook to ensure it's started once per container.

Screenshot 2025-12-30 at 13 25 09

@loks0n loks0n requested a review from ChiragAgg5k December 30, 2025 12:23
@loks0n loks0n force-pushed the refactor-extract-maintenance branch 6 times, most recently from 14d72aa to 8854e94 Compare December 30, 2025 18:08
@loks0n loks0n force-pushed the refactor-extract-maintenance branch from 8854e94 to 3ddd696 Compare December 30, 2025 22:58
// Silently try to kill container
try {
$this->orchestration->remove($runtimeName, true);
} catch (Throwable $th) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Small fix, these were overwriting $th var

@loks0n loks0n merged commit ec5813c into main Dec 31, 2025
4 checks passed
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.

3 participants