write to disk
This commit is contained in:
@@ -5,17 +5,19 @@ server.port=8080
|
||||
spring.application.name=cf-deployer
|
||||
|
||||
# Multipart Configuration - for traditional single upload endpoint
|
||||
spring.servlet.multipart.max-file-size=500MB
|
||||
spring.servlet.multipart.max-request-size=500MB
|
||||
spring.servlet.multipart.max-file-size=10MB
|
||||
spring.servlet.multipart.max-request-size=10MB
|
||||
spring.servlet.multipart.enabled=true
|
||||
# Write all uploads directly to disk, not memory (prevents OutOfMemoryError)
|
||||
spring.servlet.multipart.file-size-threshold=0
|
||||
|
||||
# Cloud Foundry CLI Configuration
|
||||
cf.cli.timeout=600
|
||||
cf.cli.path=
|
||||
|
||||
# Chunked Upload Configuration
|
||||
# Recommended chunk size: 5MB (client-side should match this)
|
||||
cf.upload.chunk.size=5242880
|
||||
# Reduced chunk size to 2MB to avoid memory issues on low-memory Tanzu instances
|
||||
cf.upload.chunk.size=2097152
|
||||
# Session timeout in minutes (default: 30 minutes)
|
||||
cf.upload.session.timeout-minutes=30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user