document/content/docs/self-host/upgrading/4-14/41411.en.mdx
All variables below have default values — you can leave them unset.
STREAM_RESUME_TTL_SECONDS=300 # TTL for Redis stream resume snapshots while generating (seconds)
STREAM_RESUME_POST_COMPLETE_TTL_SECONDS=30 # Shortened TTL after stream completes, for faster reclamation (seconds)
STREAM_RESUME_REDIS_MAXMEMORY_RATIO=0.5 # Stop creating resume snapshots for new requests when Redis used memory / maxmemory reaches this threshold
STREAM_RESUME_REDIS_MEMORY_CHECK_INTERVAL_MS=5000 # Cache duration for Redis memory checks (ms), avoids calling INFO MEMORY on every stream request
WORKFLOW_PARALLEL_MAX_CONCURRENCY=10 # Upper bound for max concurrency; cannot exceed WORKFLOW_MAX_LOOP_TIMES
ascii.