Skip to content

ACLI_MAX_TIMEOUT cannot be set #7

Description

@generalredneck

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions