Skip to content

Introduce an optional configurable request timeout #1033

Closed

Description

@kamilogorek

Moved from #540

Activity

  1. HeroProtagonist commented on Oct 16, 2017

    @HeroProtagonist
    Contributor

    @benvinegar I'm looking at this issue. On the linked PR you mentioned

    My only comment is that I'm retiring the current DOM-based event system, which is undocumented, for the event system described in #524 (and implemented in #521).

    The unmerged PR seems like it accomplishes the timeout. I do not see the new event system merged into the project. Would it be sufficient if the timeout triggers self._triggerEvent('failure') as i see done in Raven._sendProcessedPayload?

  2. kamilogorek commented on Oct 17, 2017

    @kamilogorek
    ContributorAuthor

    ... if the timeout state triggered the existing ravenFailure event instead, then I can modify this PR and merge it.

    Per this comment, I believe it should be fine. Although we don't document event system anywhere now, and I'm sure if we will anytime soon.

  3. benvinegar commented on Oct 25, 2017

    @benvinegar
    Contributor

    +1 that it triggers failure and more-or-less remains backwards compatible.

  4. aravinda0 commented on Dec 28, 2017

    @aravinda0

    Is there a workaround for this at the moment?

  5. kamilogorek commented on Jan 9, 2018

    @kamilogorek
    ContributorAuthor

    @ManiacalAce you can utilize this PR #540 to obtain this behaviour. Instead of forking it, you can use transport config option to modify it. See config docs here https://docs.sentry.io/clients/javascript/config/

  6. kamilogorek commented on Sep 11, 2018

    @kamilogorek
    ContributorAuthor

    Done through close method in new SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions