-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MI-3490] Added the logic of streaming files from MS Teams and upload…
…ing directly to MM without occupying memory (#298) * [MI-3490] Added the logic of streaming files from MS Teams and uploading directly to MM without occupying memory Updated the Mattermost server version being used in go.mod to 7.8.10 Modified the existing client functions and created new functions to handle the usecase Added the logic to download whole file into memory if file size is less than or equal to 20 MB Added the logic to stream file from MS Teams and upload to Mattermost in chunks of size 10 MB * [MI-3490] Created two new config settings for maxSizeForCompleteDownload and bufferSizeForStreaming Used the two new config settings for streaming logic Modified the interfaces of PluginIFace and Client Modified some interfaces in test cases as well * [MI-3490] Updated the minimum supported MM version and fixed the failing unit tests * [MI-3490] Review fixes: Modified some comments and refactored some code
- Loading branch information
1 parent
224f476
commit 0eb2c41
Showing
14 changed files
with
360 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.