### What problem does this PR solve? Optimize task broker and executor for reduce memory usage and deployment complexity. ### Type of change - [x] Performance Improvement - [x] Refactoring ### Change Log - Enhance redis utils for message queue(use stream) - Modify task broker logic via message queue (1.get parse event from message queue 2.use ThreadPoolExecutor async executor ) - Modify the table column name of document and task (process_duation -> process_duration maybe just a spelling mistake) - Reformat some code style(just what i see) - Add requirement_dev.txt for developer - Add redis container on docker compose --------- Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
42 lines
822 B
YAML
42 lines
822 B
YAML
ragflow:
|
|
host: 0.0.0.0
|
|
http_port: 9380
|
|
mysql:
|
|
name: 'rag_flow'
|
|
user: 'root'
|
|
password: 'infini_rag_flow'
|
|
host: 'mysql'
|
|
port: 3306
|
|
max_connections: 100
|
|
stale_timeout: 30
|
|
minio:
|
|
user: 'rag_flow'
|
|
password: 'infini_rag_flow'
|
|
host: 'minio:9000'
|
|
es:
|
|
hosts: 'http://es01:9200'
|
|
redis:
|
|
db: 1
|
|
password: 'infini_rag_flow'
|
|
host: 'redis:6379'
|
|
user_default_llm:
|
|
factory: 'Tongyi-Qianwen'
|
|
api_key: 'sk-xxxxxxxxxxxxx'
|
|
base_url: ''
|
|
oauth:
|
|
github:
|
|
client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
|
|
secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
url: https://github.com/login/oauth/access_token
|
|
authentication:
|
|
client:
|
|
switch: false
|
|
http_app_key:
|
|
http_secret_key:
|
|
site:
|
|
switch: false
|
|
permission:
|
|
switch: false
|
|
component: false
|
|
dataset: false
|