Skip to content

Conversation

@odesenfans
Copy link
Collaborator

The ipfs/add_file endpoint fails randomly because of a 5 second timeout when stat-ing the file to retrieve its size.

Increased the timeout to 30 seconds, made it configurable through the ipfs.stat_timeout config value and return a 404 from the endpoint if the stat op times out nonetheless.

The `ipfs/add_file` endpoint fails randomly because of a 5 second
timeout when stat-ing the file to retrieve its size.

Increased the timeout to 30 seconds, made it configurable through
the `ipfs.stat_timeout` config value and return a 404 from the endpoint
if the stat op times out nonetheless.
@odesenfans odesenfans self-assigned this Oct 31, 2025
@odesenfans odesenfans requested a review from nesitor October 31, 2025 14:27
@odesenfans odesenfans removed their assignment Oct 31, 2025
Copy link
Member

@nesitor nesitor left a comment

Choose a reason for hiding this comment

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

🚀

@nesitor nesitor merged commit f64dc9c into main Oct 31, 2025
4 checks passed
@nesitor nesitor deleted the od/fix-ipfs-stat-timeout-in-endpoint branch October 31, 2025 14:43
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.

3 participants