~hloeung/ubuntu-repository-cache/extra-server-process

Viewing all changes in revision 327.

  • Committer: mergebot at canonical
  • Author(s): "Haw Loeung"
  • Date: 2021-03-08 21:04:02 UTC
  • mfrom: (325.1.7 ubuntu-repository-cache-charm)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20210308210402-8yvanxkb8yvrlafk
Make health-check script/endpoint more resilient

u-r-c units are usually deployed in public clouds with the sync-host
set to the main Ubuntu archive servers. We can't control the network
connectivity/conditions so update health-check script to retry up to 3
times on failures.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-retries-on-failure/+merge/399257
Reviewed-by: Benjamin Allot <benjamin.allot@canonical.com>
Reviewed-by: Barry Price <barry.price@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: