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

Improved message sending and draft create/update performance #544

Conversation

mrashed-dev
Copy link
Collaborator

Description

This PR improves message send/draft create/update performance by always defaulting to application/json instead of multipart. Multipart will only be used for when a request contains a total attachments size of 3mb or higher.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@mrashed-dev mrashed-dev merged commit be05cdb into main Mar 1, 2024
4 checks passed
@mrashed-dev mrashed-dev deleted the TW-2707-node-implement-application-json-for-messages-drafts-api branch March 1, 2024 00:29
@mrashed-dev mrashed-dev mentioned this pull request Mar 5, 2024
mrashed-dev added a commit that referenced this pull request Mar 5, 2024
# Changelog
* Improved message sending and draft create/update performance (#544)
* Change default timeout to match API (90 seconds) (#545)
* Fixed serialization/deserialization of keys with numbers in them (#546)
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.

None yet

2 participants