Skip to content

requests needs a timeout #68

@camerondavison

Description

@camerondavison

This was solved in the singer tap like https://github.com/singer-io/tap-salesforce/pull/114/commits

By default requests does not have any connect timeout https://requests.readthedocs.io/en/latest/user/advanced/#timeouts but it should

This is the currently recommended way to set timeout for simple salesforce as far as I know

simple-salesforce/simple-salesforce#148 (comment)


This is causing problems for our cronjob which is periodically freezing due to some dropped packet that then leaves the connection open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions