Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions horreum-backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,5 @@ quarkus.elasticsearch.devservices.enabled=false

quarkus.transaction-manager.default-transaction-timeout=1h
quarkus.arc.fail-on-intercepted-private-method=false

quarkus.http.limits.max-body-size=300M
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ public HorreumClient build() throws IllegalStateException {
// Other MessageBodyReaders/Writers that may not be found by ServiceLoader mechanism
clientBuilder.register(new StringTextStar());
clientBuilder.register(new DefaultTextPlain());

// Fix for: RESTEASY003292: Stream is closed
System.setProperty("org.jboss.resteasy.client.jaxrs.engines.fileUploadInMemoryThreshold", "100");
ResteasyClient client = clientBuilder.build();
ResteasyWebTarget target = client.target(horreumUrl);

Expand Down