You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed we are forced to copy the inputstream as the two daos can't read the inputStream.
However IOUtils.toByteArray(inputStream) operation is blocking: please to it onto a Scheduler.boundedElastic()...
Moreover this API might be called with objects that might not fit in memory. I would welcome the use of FileBackedOutputStream that uses a file if the input is > 100MB.
Why
cf https://github.com/linagora/tmail-backend/pull/1214/files#r1791802833
DoD
Finish the TODO:
tmail-backend/tmail-backend/blob/secondary-blob-store/src/main/java/com/linagora/tmail/blob/secondaryblobstore/SecondaryBlobStoreDAO.java
Line 89 in e8dbaea
The text was updated successfully, but these errors were encountered: