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.
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
acquia-cloud-hooks/common/post-code-deploy/build.sh
Line 72 in 29e2349
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
These need to be documented as well.