Skip to content

Support http_connect_timeout and http_timeout options #593

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

Merged
merged 4 commits into from
May 30, 2022
Merged

Support http_connect_timeout and http_timeout options #593

merged 4 commits into from
May 30, 2022

Conversation

matthew-gill
Copy link
Contributor

@matthew-gill matthew-gill commented Jan 19, 2022

I raised this issue: #592

This PR adds the ability to set options for http (timeout) options, when paired with getsentry/sentry-php#1282 (which modifies the sentry-php SDK) will allow the setting of these options via Symfony yml configuration.

Example use:

sentry.yml:

sentry:
    options:
        http_timeout: 1
        http_connect_timeout: 1

If I've missed the mark, feel free to reject - I'd just love to be able to do this in my app, if it's possible already please let me know, thanks!

Copy link
Contributor

@Jean85 Jean85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs:

@Jean85 Jean85 changed the base branch from master to develop January 19, 2022 15:31
@Jean85 Jean85 added this to the 4.3 milestone Jan 19, 2022
@Jean85 Jean85 linked an issue Jan 19, 2022 that may be closed by this pull request
@github-actions

This comment was marked as outdated.

@Jean85
Copy link
Contributor

Jean85 commented May 23, 2022

Build restarted, we have Psalm and a couple of other jobs failing.

@ste93cry ste93cry merged commit 75c1bc5 into getsentry:develop May 30, 2022
@Jean85 Jean85 mentioned this pull request May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How do I set the connect timeout and timeout values?
3 participants