Skip to content

Commit

Permalink
fix(utils): give sentry more time to respond
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 28, 2024
1 parent f928575 commit 367b8f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weblate/utils/management/commands/sentry_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def handle(self, *args, **options) -> None:
"refs": [{"repository": "WeblateOrg/weblate", "commit": ref}],
}
response = requests.post(
sentry_url, json=data, headers=sentry_auth, timeout=5
sentry_url, json=data, headers=sentry_auth, timeout=30
)
self.stdout.write(f"Created new release {version}")
response.raise_for_status()
Expand All @@ -51,7 +51,7 @@ def handle(self, *args, **options) -> None:
release_url + "deploys/",
data={"environment": settings.SENTRY_ENVIRONMENT},
headers=sentry_auth,
timeout=5,
timeout=30,
)
response.raise_for_status()
self.stdout.write("Created new Sentry deploy {}".format(response.json()["id"]))

0 comments on commit 367b8f0

Please # to comment.