Skip to content

Download Cache times out #113

@tlabeeuw

Description

@tlabeeuw

The current timeout is 10 seconds:

https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/util/cache/download_cache.rb#L113

This can cause issues on machines with bad internet connections. The default Ruby read timeout is a minute:

http://ruby-doc.org/stdlib-2.1.1/libdoc/net/http/rdoc/Net/HTTP.html

We tested increasing it to a minute and this solved our problem.

Thanks,

@tlabeeuw + @weymanf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions