Improve storage engine (#4341)

### What problem does this PR solve?

- Bring `STORAGE_IMPL` back in `rag/svr/cache_file_svr.py`
- Simplify storage connection when working with AWS S3

### Type of change

- [x] Refactoring
This commit is contained in:
Kenny Dizi
2025-01-06 11:06:24 +07:00
committed by GitHub
parent 9c6cf12137
commit bad764bcda
4 changed files with 6 additions and 20 deletions

View File

@ -22,7 +22,7 @@ infinity:
db_name: 'default_db'
redis:
db: 1
password: '${REDIS_PASSWORD:-infini_rag_flow}'
password: '${REDIS_PASSWORD:-infini_rag_flow}'
host: '${REDIS_HOST:-redis}:6379'
# postgres:
@ -34,7 +34,6 @@ redis:
# max_connections: 100
# stale_timeout: 30
# s3:
# endpoint: 'endpoint'
# access_key: 'access_key'
# secret_key: 'secret_key'
# region: 'region'