Skip to content

support custom timeout in extract? #104

@rahulbot

Description

@rahulbot

Right now we have a fixed timeout for extractions that require and http fetch:

DEFAULT_TIMEOUT_SECS = (

Could we add a new optional timeout parameter to the main extract entry point that would be passed in to that call to fetch? This would be a better API for users of the library vs. forcing them to do a hack like mcmetadata.webpages.DEFAULT_TIMEOUT_SECS = 60*5 (which is what I'm trying out now).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions