Skip to content

Add timeouts and retrying for timeouts #47

Description

@cpf-sh

In my implementation of the nationbuilder-rb gem, we see relatively frequent (at least once a day, normally) instances in which a connection seems to take forever to create. There's currently no native option that I can see to set a timeout on how long it should take for NationBuilder's endpoints to respond - this would be useful so as to ensure a good UX.

Note "take forever" here means "causing HTTP requests to fail on Heroku because they time out" (over 3s to complete), and New Relic indicates this is pretty much entirely down to the NationBuilder connection - the app server only takes roughly 100ms.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions