From b705f25effa684f93933118887c93c3c95e0f5d2 Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Sun, 6 Sep 2026 23:52:46 +0200 Subject: [PATCH] =?UTF-8?q?Garde-fou=20:=20le=20d=C3=A9ploiement=20=C3=A9c?= =?UTF-8?q?houe=20vite=20si=20le=20login=20FTP=20est=20refus=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sans limite de tentatives, lftp réessayait indéfiniment un login refusé, ce qui martèle le serveur et finit par déclencher un blocage d'IP côté OVH. Co-Authored-By: Claude Opus 5 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 038771b..f267d18 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,4 @@ start: # Require a password. Not versioned. See Bitwarden. deploy: - lftp -e "mirror -R ./src ftp://dhufpvp@ftp.cluster029.hosting.ovh.net/www" -u dhufpvp,${FTP_PASS} \ No newline at end of file + lftp -e "set net:max-retries 3; set net:timeout 15; mirror -R ./src ftp://dhufpvp@ftp.cluster029.hosting.ovh.net/www" -u dhufpvp,${FTP_PASS} \ No newline at end of file