Skip to content

Timeout property of superagent library should be exposed #39

Closed

Description

Our testing experience has shown that intermittently the MSGraph can fail.

In our test-suite we've extended the time out of Mocha and this has resolved it, but we cannot do this in the main code as timeout property/method of superagent is not exposed.

Would it be possible to expose it as an option with a default perhaps?

Activity

  1. self-assigned this
    on Apr 30, 2017
  2. dan-silver commented on Apr 30, 2017

    @dan-silver
    Contributor

    That's a great idea! We should support a library default, a client default set in MicrosoftGraph.Client.init, and a per call timeout method.

    I can't guarantee when we can add the timeout property, but if you get to it first and submit a pull request I'm happy to review it.

    2123527

  3. akramhussein commented on May 5, 2017

    @akramhussein
    Author

    Hi dan-silver - sounds good, I will take a look.

  4. muthurathinam commented on Sep 22, 2018

    @muthurathinam
    Contributor

    Fixed with this pull request and released.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions