Skip to content
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

getEnv on worker.php #8026

Merged
merged 11 commits into from
May 22, 2024
2 changes: 1 addition & 1 deletion app/worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@

$pools = $register->get('pools');
$platform = new Appwrite();
$args = $_SERVER['argv'];
$args = $platform->getEnv('argv');
shimonewman marked this conversation as resolved.
Show resolved Hide resolved

if (!isset($args[1])) {
Console::error('Missing worker name');
Expand Down
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.