Commit 72c42398 authored by Eric Timmons's avatar Eric Timmons
Browse files

Increase retry sleep and max for git repos

parent 898aeebb
......@@ -221,13 +221,13 @@ ref is present locally, fetching or cloning the repo as necessary."
(if (uiop:probe-file* local-dir)
;; Repo is present, need to fetch if the ref is not present.
(when (or branch (not (ref-present-p repo :commit commit :tag tag)))
(with-retries (:max 5 :sleep 2)
(with-retries (:max 10 :sleep 5)
(fetch-repo! repo))
;; Make sure the ref is actually present, raising an error otherwise.
(unless (ref-present-p repo :commit commit :tag tag :branch branch)
(error "ref is not present, even after updating.")))
;; Repo is not present at all, need to clone it.
(with-retries (:max 5 :sleep 2)
(with-retries (:max 10 :sleep 5)
(clone-repo! repo)
;; Make sure the ref is actually present, raising an error otherwise.
(unless (ref-present-p repo :commit commit :tag tag :branch branch)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment