-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: executor to manage its own networks #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the networks are being created lazily - the first injection (and injections after cleanup) will have to wait for the creation of all networks that don't exist, slowing down a cold-start. Might be better to do on server start when possible? Did we do any benchmarking?
app/http.php
Outdated
try { | ||
$orchestration->remove($container->getId(), true); | ||
|
||
$activeRuntimeId = $container->getName(); | ||
|
||
if (!$activeRuntimes->exists($activeRuntimeId)) { | ||
if ($activeRuntimes->exists($activeRuntimeId)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we try to remove in any case? if it's an orphan function for example.
.github/workflows/tests.yml
Outdated
@@ -29,5 +29,5 @@ jobs: | |||
|
|||
- name: Run Tests | |||
run: | | |||
docker run --rm -v $PWD:/app --network openruntimes-runtimes -w /app phpswoole/swoole:4.8.12-php8.0-alpine sh -c \ | |||
docker run --rm -v $PWD:/app --network runtimes-1 -w /app phpswoole/swoole:4.8.12-php8.0-alpine sh -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not critical, Is it worth changing to phpswoole/swoole:5.1.2-php8.3-alpine
to match the executor PHP version
feat: adjusting table size
feat: getting executor name
No description provided.