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 options to set HTTP timeouts #527

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

mtneug
Copy link
Member

@mtneug mtneug commented May 16, 2024

This patch adds the ability to set the cURL options CONNECTTIMEOUT and TIMEOUT for HTTP requests.

CONNECTTIMEOUT is applied to all HTTP requests while TIMEOUT is only applied to non-ingest requests. The defaults are set to 180s and 300s, respectively.

@mtneug mtneug force-pushed the add-timeout-configuration branch from 7673112 to 2384b45 Compare May 16, 2024 14:29
pyca/config.py Outdated Show resolved Hide resolved
This patch adds the ability to set the cURL options `CONNECTTIMEOUT` and
`TIMEOUT` for HTTP requests.

`CONNECTTIMEOUT` is applied to all HTTP requests while `TIMEOUT` is only
applied to non-ingest requests. The defaults are set to 180s and 300s,
respectively.
@mtneug mtneug force-pushed the add-timeout-configuration branch from 2384b45 to 794adc2 Compare May 16, 2024 20:38
@lkiesow lkiesow self-assigned this Jun 18, 2024
@lkiesow lkiesow merged commit 56a2696 into opencast:main Jun 18, 2024
8 checks passed
@mtneug mtneug deleted the add-timeout-configuration branch June 18, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants