feat: harden auth and stream uploads
This commit is contained in:
@@ -26,6 +26,13 @@ DATABASE_MAX_CONNECTIONS=10
|
||||
WORKER_CONCURRENCY=2
|
||||
IMAGE_PROCESSING_CONCURRENCY=2
|
||||
|
||||
# Resource ceilings tuned for an 8-core / 16 GB application host.
|
||||
POSTGRES_MEMORY_LIMIT=2g
|
||||
REDIS_MEMORY_LIMIT=1g
|
||||
REDIS_MAXMEMORY=768mb
|
||||
API_MEMORY_LIMIT=3g
|
||||
WORKER_MEMORY_LIMIT=8g
|
||||
|
||||
ALLOW_ANONYMOUS_UPLOAD=true
|
||||
ANON_MAX_FILE_SIZE_MB=5
|
||||
ANON_MAX_FILES_PER_BATCH=5
|
||||
|
||||
Reference in New Issue
Block a user