Skip to content

Conversation

@hoangdat
Copy link
Member

@hoangdat hoangdat commented Feb 1, 2023

Root cause:

  • can not free resource when file.openRead() for each chunk

Solution:

  • using ChunkStreamReader to cancel the underlying stream

@hoangdat hoangdat temporarily deployed to dev February 1, 2023 10:20 — with GitHub Actions Inactive
@hoangdat hoangdat temporarily deployed to dev February 1, 2023 10:20 — with GitHub Actions Inactive
Copy link
Member

@dab246 dab246 left a comment

Choose a reason for hiding this comment

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

Please check case: _chunkedStreamReader?.cancel(); when upload failed

@hoangdat hoangdat temporarily deployed to dev February 1, 2023 15:08 — with GitHub Actions Inactive
@hoangdat hoangdat temporarily deployed to dev February 1, 2023 15:08 — with GitHub Actions Inactive
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.

4 participants