diff --git a/main.py b/main.py index bd5da60..774feba 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ app = FastAPI() -@backoff.on_exception(backoff.expo, requests.exceptions.RequestException, max_tries=4) +@backoff.on_exception(backoff.expo, requests.exceptions.RequestException, max_tries=10) def request_put(url, message): res = requests.put(url, json.dumps(message).encode("utf-8")) res.raise_for_status()