Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs registry: allow timeout and retry #676

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

ktock
Copy link
Member

@ktock ktock commented Jan 7, 2022

IPFS occasionally hangs during reading chunks and requires retrying the request.
To fix this isssue, this commit adds the following options.

  • --read-retry-num: Times to retry query on IPFS (default 0 (no retry))
  • --read-timeout: Timeout duration of a read request to IPFS (defualt 0 (no timeout))

IPFS occasionally hangs during reading chunks and requires retrying the request.
This commit adds the following options

- `--read-retry-num`: times to retry query on IPFS
- `--read-timeout`: timeout duration of a read request to IPFS

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@AkihiroSuda AkihiroSuda added this to the v0.16.0 milestone Jan 7, 2022
@AkihiroSuda AkihiroSuda added the area/ipfs IPFS label Jan 7, 2022
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 93c82dd into containerd:master Jan 7, 2022
@ktock ktock deleted the registry-context branch January 7, 2022 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants