mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 03:20:46 +02:00
Cleanup work + stream endpoints to reduce memory usage (#6106)
This commit is contained in:
@@ -25,6 +25,11 @@ server.http2.enabled=true
|
||||
# Enable virtual threads (Java 21+, pinning fix in Java 25)
|
||||
spring.threads.virtual.enabled=true
|
||||
|
||||
# Only run security filters on REQUEST and ERROR dispatches (not ASYNC).
|
||||
# StreamingResponseBody triggers an ASYNC dispatch on completion; without this,
|
||||
# Spring Security re-evaluates authorization after the response is already committed.
|
||||
spring.security.filter.dispatcher-types=REQUEST,ERROR
|
||||
|
||||
# Response compression
|
||||
server.compression.enabled=true
|
||||
server.compression.min-response-size=1024
|
||||
|
||||
Reference in New Issue
Block a user