-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
After updating to Symfony 4.4 and migrating to v2 of this gem I was reviewing deploy logs and noticed that the symfony:cache:warmup
task was running the SSH command itself multiple times per server. I deploy to 9 servers, and the command looks like it's running 81 times, 9 per server.
The symfony_console
call in that task is wrapped in an on
:
Then the symfony_console
function itself contains another on
:
https://github.com/capistrano/symfony/blob/master/lib/capistrano/dsl/symfony.rb#L42
So it looks like it's saying "on each server, run the cache warmup command on each server". Am I misunderstanding this and I have a different issue? This explanation seems to fit the results I'm seeing.
Metadata
Metadata
Assignees
Labels
No labels