diff options
author | Jonathon Anderson <17242663+blue42u@users.noreply.github.com> | 2022-10-25 13:36:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 11:36:12 -0700 |
commit | 9d5151ba25394b35ff7fc4b06b858c53e638ec5d (patch) | |
tree | f1a5bd996f54bb7f8666a7a4483732da4c28ddbf /share | |
parent | d2e75045b8a5e094d1c9772a0f2cd762cf3ce21b (diff) | |
download | spack-9d5151ba25394b35ff7fc4b06b858c53e638ec5d.tar.gz spack-9d5151ba25394b35ff7fc4b06b858c53e638ec5d.tar.bz2 spack-9d5151ba25394b35ff7fc4b06b858c53e638ec5d.tar.xz spack-9d5151ba25394b35ff7fc4b06b858c53e638ec5d.zip |
BinaryCacheIndex: track update failures with cooldown (#33509)
#32137 added an option to update() a BinaryCacheIndex with a
cooldown: repeated attempts within this cooldown would not
actually retry. However, the cooldown was not properly
tracked for failures (which is common when the mirror
does not store any binaries and therefore has no index.json).
This commit ensures that update(..., with_cooldown=True) will
also skip the update even if a failure has occurred within the
cooldown period.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions