From ec8f44d36a4098543d0f52e1da93c7f09e4a194c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Wed, 27 Mar 2024 14:48:03 +0100 Subject: [PATCH] GH repo: sleep more between adding release assets [ci skip] --- R/gh-repo.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/gh-repo.R b/R/gh-repo.R index f1a1e990..e2bfc373 100644 --- a/R/gh-repo.R +++ b/R/gh-repo.R @@ -240,11 +240,11 @@ ghrepo <- local({ ghr$add_asset(slug, inst$built_path[i], ver), error = function(err) { cli::cli_alert_info("Try adding release asset again.") - Sys.sleep(5) + Sys.sleep(60) ghr$add_asset(slug, inst$built_path[i], ver) } ) - Sys.sleep(1) + Sys.sleep(5) } }