#175 Add retry decorator to backend-frontend requests.
Merged by ralph. Opened by ralph.
ralph/greenwave retry-again  into  master

Download 175.patch

This is an addendum to 251c008372a3.

There, a retry decorator was added to try and work around some DNS issues when
we can't even establish a connection. We covered connections from
greenwave/web to resultsdb and waiverdb, but I forgot about greenwave's
connection from the backend to greenwave/web. This covers that third case.

It gets tricky like the comments says because the backend doesn't have access
to the frontend configuration - no application context. We should think about
some kind of unified config for a future change.

rebased onto 6b7f52da928f84015e773aaccbbb5474aba00629

rebased onto 18bc1665e18a5422bd00e0435c52b85e494b2ac1

Thanks Yash!

Pull-Request has been merged by ralph

Metadata