vscode-deploy-reloaded
vscode-deploy-reloaded copied to clipboard
Deploying a file can take forever
Description
sometimes deploying a file will not work at all, the deployment is started :
[18:24:15] 🚀 Deploying file '/readme.md' to '/ (preprod)' ...
and get stuck forever. remote file is then zero ko. this happens to me like 33-50% of time. did not notice it before with previous versions, it used to work well, but can't say when it realy started to dysfunction.
Example config
{
"deploy.reloaded": {
"packages": [
],
"targets": [
{
"name": "preprod",
"type": "ftp",
"engine": "ftp",
"port": 21,
"user": "...",
"password": "...",
"host": "...",
"dir": "/project",
"secure": true,
"rejectUnauthorized": false,
"deployed": [
{
"type": "exec",
"command": "docker exec mysql_1 /usr/bin/mysqldump -u root --password=admin project > project.sql"
},
{
"type": "exec",
"command": "cat project.sql | sed -e 's/ROW_FORMAT=COMPACT/ROW_FORMAT=DYNAMIC/' | sed -e '/ROW_FORMAT/!s/^) ENGINE=InnoDB/) ENGINE=InnoDB ROW_FORMAT=DYNAMIC/' > project.mod.sql"
}
]
}
]
}
}
Logs
INFO extension.deploy.reloaded.loadplugins - [23/Aug/2018:08:56:15 +0000] "Loaded 19 plugins:
- app
- azureblob
- batch
- compiler
- dropbox
- each
- ftp
- list
- local
- mail
- map
- prompt
- s3bucket
- script
- sftp
- slack
- switch
- test
- zip
Your environment
- Operating system: Linux Mint 18.3 Cinnamon 64-bit
- Visual Studio Code version: 1.26.1
- Extension version: 0.84.0
Additional comments
have tryed jsftp engine , fastCheckOnSave and useFastGlob options with no luck.
Thnx