This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 2bab305b18 [FIX] Store add a missing flush
2bab305b18 is described below
commit 2bab305b184e4e60c7aa6733a60b7feaf4398a6a
Author: Benoit TELLIER <[email protected]>
AuthorDate: Thu Oct 24 10:53:30 2024 +0200
[FIX] Store add a missing flush
---
.../blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java
b/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java
index f13f36ea8f..cef9f6d415 100644
--- a/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java
+++ b/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java
@@ -121,6 +121,7 @@ public interface Store<T, I> {
FileBackedOutputStream out = new
FileBackedOutputStream(FILE_THRESHOLD);
try {
long size = in.transferTo(out);
+ out.flush();
return Mono.just(new
DelegateCloseableByteSource(out.asByteSource(), () -> {
out.reset();
out.close();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]