Commit 948ef858 authored by memtkmcc's avatar memtkmcc Committed by helmo

Issue #2798129 by memtkmcc: Run extra Verify via frontend during Import task (BOA unfork)

parent 1c889324
......@@ -42,7 +42,12 @@ function drush_provision_drupal_post_provision_import() {
// Do not automatically save the drushrc at the end of the command.
drush_set_option('provision_save_config', false);
// We still run this extra backend sub-task to properly register packages etc.
provision_backend_invoke(d()->name, 'provision-verify');
sleep(5); // A small trick to avoid high load and race conditions.
// We run this extra verify via frontend to avoid issue #1004526.
provision_backend_invoke('@hostmaster', 'hosting-task', array(d()->name, 'verify'), array('force' => TRUE));
drush_include_engine('drupal', 'cron_key');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment