Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout to gitlab requests in job classification task #895

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

mvandenburgh
Copy link
Member

The Soft time limit (60s) exceeded for upload_job_failure_classification sentry errors seem to be occuring due to the gitlab API requests hanging. The default timeout for them is 60, so if a request hangs for that long, it will exceed the Soft time limit set in the celery task.

Adding this timeout of 15 seconds will hopefully confirm this, as I don't see a way to see what's happening using just the sentry errors.

@mvandenburgh mvandenburgh merged commit da7729f into main Jun 26, 2024
14 checks passed
@mvandenburgh mvandenburgh deleted the add-timeout-job-failure-classification branch June 26, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants