Skip to content

Add upload attempt try loop to pastro.

Luke Davis requested to merge feature/pastro_upload_attempt_loop into main

Our pastro consumer can crash due to connection errors such as this:

requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://gracedb.ligo.org/api/events/G409313/log/

This MR adds a upload attempt try loop similar to what we have in postcoh_finalsink.py

Merge request reports