Skip to content

Conversation

@apuig
Copy link
Contributor

@apuig apuig commented Dec 16, 2025

Changed from .let to .use to ensure InputStream is always closed, preventing FD exhaustion when exceptions occur during upload.

This results in serious problems when environments are unable to connect to the Segment API over an extended duration

Changed from .let to .use to ensure InputStream is always closed,
preventing FD exhaustion when exceptions occur during upload
@apuig
Copy link
Contributor Author

apuig commented Dec 16, 2025

Hi @wenxi-zeng
We’ve encountered this issue and would appreciate your help.
Thank you in advance!

Copy link
Contributor

@wenxi-zeng wenxi-zeng left a comment

Choose a reason for hiding this comment

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

neat! thanks for contributing! will get it merged and make a release soon

@wenxi-zeng wenxi-zeng merged commit 42c677b into segmentio:main Dec 16, 2025
7 of 9 checks passed
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.

2 participants