Skip to content

Increase and/or allow configuration of curl timeout for fetch_and_deploy_gh_releaseΒ #5387

@chrislo27

Description

@chrislo27

πŸ“Œ Task summary

Increase and/or allow configuration of curl timeout for fetch_and_deploy_gh_release

πŸ“‹ Task details

The default timeout for curl in the fetch_and_deploy_gh_release tools function is 30 seconds. This can be too short for downloading larger releases (e.g. immich tarballs), and is also dependent on the user's network and GitHub's CDN servers. While it might work for some, it may not work for others.

Line where timeout values are set:

local curl_timeout="--connect-timeout 10 --max-time 30"

It would be good to increase the default timeout, allow it to be passed in as a parameter to the function, or remove it entirely.

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