canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 11 forks source link

feat: retry more launchpad queries #352

Closed tigarmo closed 3 months ago

tigarmo commented 4 months ago

First commit creates the retry() function and refactors the code that had "retry" logic in it to use the function. Second commit adds retry() to a couple more launchpad calls. I ended up sticking to the calls that had some known Exception type, because otherwise I don't know when to retry. I'm open to suggestions on this, otherwise I suppose we can add more retry() calls as time goes and we identify more Exception types that result from launchpad flakiness.

tigarmo commented 3 months ago

merged by #355