lib/mina-ext/deploy.rb in mina-ext-0.1.1 vs lib/mina-ext/deploy.rb in mina-ext-0.1.2

- old
+ new

@@ -19,11 +19,11 @@ set :prefix, prefix deploy do block.call(prefix, instance) end invoke :__stop - queue 'sleep 10' + queue 'sleep 5' invoke :__start invoke 'deploy:cleanup' end end end @@ -36,11 +36,11 @@ set :prefix, prefix deploy do block.call(prefix, instance) end invoke :__stop - queue 'sleep 10' + queue 'sleep 5' invoke :__start invoke 'deploy:cleanup' end end end @@ -72,10 +72,10 @@ task :restart do set :deploy_to, "/opt/www/#{prefix}_#{instance}" set :instance, instance set :prefix, prefix invoke :__stop - queue 'sleep 10' + queue 'sleep 5' invoke :__start end desc "Stop '#{prefix}_#{instance}'" task :stop do