-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFTP uploading taking lot of time #11
Comments
TODO
|
my deployment taking like 30 minutes. Every time i push the code, it is trying to upload the same files. I have thousands of files. and it taking more than 30 minutes. I have used the parameter forceUpload: false I tried to add the optional parameter, but got warning any suggestions? |
each time I do PR, when the action runs, it keep pushing / uploading the existing files to SFTP server, even those files already exist. the app thinking each time i modify a single file and push, it thinks all of files in the app directory are new and trying to deploy them again. it's takes about 40 minutes to upload all those small files. how do i say only upload files are modified or newer? |
I have also set To minimize downtime, I thought about also uploading all files to a tmp folder, then move all existing files (except the ones in Edit: my file sync is currently 11m for ~80mb and ~1000 files in ~100 folders. |
Regarding performance improvement, although uploading files is currently asynchronous, comparison files are synchronous.
|
Refactored in v2.0.0 |
Can you make it so it stores like a sync-state file on the remote server so that the action already knows which files it has read remotely and doesn't have to reread files. This could save lots of time, especially on larger builds.. Something similar is done for FTP Deploy on https://github.com/SamKirkland/FTP-Deploy-Action for example. It stores a list in the remote server and only updates files that were changed. |
Feature like this will be much helpful since upload to limited server, without ssh access, when there is need for uploading around 10k project and dependencies files takes around hour. |
If you have many files to upload, packaging them into tar.gz and notifying the server to download and decompress might be a better choice. Please refer to my new project, which is written in Rust, very lightweight and fast, and doesn't require a server key/password. |
Hello, the uploading of files is taking too much time (4min39s) for only 45mb
The text was updated successfully, but these errors were encountered: