-
Committer:
Haw Loeung
-
Date:
2020-02-04 21:39:43 UTC
-
Revision ID:
haw.loeung@canonical.com-20200204213943-vfjjtg45n8ovh3r5
Make metadata sync more resilient and retry
For Ubuntu Archive, it's fine because the sync host usually resolves
to more than one host/IP and therefore it goes through each but for
something like Ubuntu Ports, it's only a single host/IP. Instead,
let's retry up to 3 times before moving onto the next host.