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

ACLI_MAX_TIMEOUT cannot be set #7

Open
generalredneck opened this issue Sep 26, 2024 · 0 comments
Open

ACLI_MAX_TIMEOUT cannot be set #7

generalredneck opened this issue Sep 26, 2024 · 0 comments

Comments

@generalredneck
Copy link
Collaborator

Since PHP runs in a child process... it doens't have access to the Environment Variables set within the hook's process...

We need to add ACLI_MAX_TIMEOUT to the list of variables set when calling wait-for-notification.php.

See

ACLI_COMMAND="$acli" php "$HELPER_SCRIPT_PATH/wait-for-notification.php" "$TMP_FILE" &
.

We may want to add a separate variable that controls the lenght of the database timeout wait versus the file transfer wait timeout so that someone can manage them independently... similarly for Varnish cache at the bottom..

Soemthing like

ACLI_COMMAND="$acli" ACLI_MAX_TIMEOUT="$DB_COPY_MAX_TIMEOUT" php "$HELPER_SCRIPT_PATH/wait-for-notification.php" "$TMP_FILE" &

These need to be documented as well.

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

No branches or pull requests

1 participant