lib/docker-sync/sync_strategy/rsync.rb in docker-sync-0.2.0.rc1 vs lib/docker-sync/sync_strategy/rsync.rb in docker-sync-0.2.0
- old
+ new
@@ -107,10 +107,10 @@
else
say_status 'ok', "#{container_name} container still running", :blue if @options['verbose']
end
say_status 'ok', "#{container_name}: starting initial sync of #{@options['src']}", :white if @options['verbose']
# this sleep is needed since the container could be not started
- sleep 1
+ sleep 3
sync
say_status 'success', 'Rsync server started', :green
end
def get_user_mapping