Skip to content

Conversation

@ktock
Copy link
Member

@ktock ktock commented Dec 23, 2020

Resolves: #226

Currently, the timeout for fethcing chunks is 30s but this is too short on some
environments.
This commit make this configurable on config.toml (with fetching_timeout
option) and extended the default timeout (300s).

cc: @mattmoor

Copy link
Contributor

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

ValidInterval int64 `toml:"valid_interval"`
CheckAlways bool `toml:"check_always"`
ChunkSize int64 `toml:"chunk_size"`
FetchTimeout int64 `toml:"fetching_timeout"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FetchTimeoutSeconds.
Or can we use time.Duration?

Currently, the timeout for fethcing chunks is 30s but this is too short on some
environments.
This commit make this configurable on `config.toml` (with `fetching_timeout`
option) and extended the default timeout (300s).

Signed-off-by: Kohei Tokunaga <[email protected]>
@AkihiroSuda AkihiroSuda merged commit a08aac5 into containerd:master Dec 23, 2020
@ktock ktock deleted the fetchtimeout branch October 7, 2022 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

context deadline exceeded while prefetching

3 participants