harden memory edits and uploads
This commit is contained in:
11
.env.example
11
.env.example
@ -10,6 +10,17 @@ MEMORY_GATEWAY_STORAGE_DIR=./data/storage
|
||||
# Number of resource session IDs sent per EverOS search request.
|
||||
MEMORY_GATEWAY_RESOURCE_SEARCH_BATCH_SIZE=50
|
||||
|
||||
# Max upload size in bytes. Default here is 25 MiB.
|
||||
MEMORY_GATEWAY_MAX_UPLOAD_BYTES=26214400
|
||||
|
||||
# Comma-separated MIME allowlist. Prefix wildcards such as image/* are supported.
|
||||
MEMORY_GATEWAY_ALLOWED_MIME_TYPES=image/*,audio/*,application/pdf,text/html,application/xhtml+xml,text/plain,text/markdown,text/csv,application/json,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||
|
||||
# EverOS add/flush retry policy during resource ingestion.
|
||||
MEMORY_GATEWAY_EVEROS_INGEST_ATTEMPTS=3
|
||||
MEMORY_GATEWAY_EVEROS_RETRY_DELAY_SECONDS=0.25
|
||||
MEMORY_GATEWAY_EVEROS_TIMEOUT_SECONDS=120
|
||||
|
||||
# API server settings used by python main.py.
|
||||
MEMORY_GATEWAY_HOST=0.0.0.0
|
||||
MEMORY_GATEWAY_PORT=8010
|
||||
|
||||
Reference in New Issue
Block a user