Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
provision
Commits
948ef858
Commit
948ef858
authored
Sep 15, 2016
by
memtkmcc
Committed by
helmo
Sep 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2798129
by memtkmcc: Run extra Verify via frontend during Import task (BOA unfork)
parent
1c889324
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
platform/import.provision.inc
platform/import.provision.inc
+5
-0
No files found.
platform/import.provision.inc
View file @
948ef858
...
...
@@ -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'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment