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

feat(builder): CreateAttachment stream support #2690

Open
shorinami opened this issue Jan 5, 2024 · 0 comments
Open

feat(builder): CreateAttachment stream support #2690

shorinami opened this issue Jan 5, 2024 · 0 comments

Comments

@shorinami
Copy link

shorinami commented Jan 5, 2024

Currently the CreateAttachment has a data field with static attachment data, therefore all attachments are fully loaded to memory before being sent, this causes huge memory use when dealing with a lot of files.

Perhaps there is a way to provide streams instead which would solve the issue.

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

No branches or pull requests

1 participant