I have several lengthy process restarts in my deploy.rb , for example:
rake assets:precompilescript/delayed_job restartrake sunspot:solr:stop , rake sunspot:solr:start
All of these processes must occur, but not necessarily one after another.
I was wondering if I could run assets:precompile and delayed_job restart at the same time, since they should not happen one after another, and I could speed up my deployment time by executing them asynchronously.
I have completed some Google searches, but I canβt find anything.
source share