pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
292 stars 45 forks source link

Reconnect on upload failure #23

Closed pocketarc closed 11 years ago

pocketarc commented 11 years ago

Right now, if git-deploy fails to upload, it will try uploading again using the same connection, 10 times. If that fails, it stops, and you have to restart the upload.

Change it so that instead of using the same connection, it closes it and opens a new one, to try again. This will avoid an issue I've been having with 1000+ file uploads, where it stops halfway.

pocketarc commented 11 years ago

Not necessary; the only reason I needed it was because I had problems sometimes with files that would cause the upload to stop, but I've since resolved this issue.