- 添加 docker-compose.local.yml(MySQL/Redis/Qdrant 本地基础设施) - 添加 mysql.conf.d 本地 MySQL 低资源配置 - RAG Worker Python 3.9 兼容(from __future__ import annotations) - 同步最新业务代码变更
15 lines
377 B
INI
15 lines
377 B
INI
[mysqld]
|
|
# 本地开发配置 — 调低资源占用
|
|
innodb_buffer_pool_size = 512M
|
|
innodb_buffer_pool_instances = 1
|
|
innodb_redo_log_capacity = 256M
|
|
innodb_flush_log_at_trx_commit = 1
|
|
innodb_file_per_table = 1
|
|
max_connections = 50
|
|
wait_timeout = 300
|
|
interactive_timeout = 300
|
|
character-set-server = utf8mb4
|
|
collation-server = utf8mb4_unicode_ci
|
|
slow_query_log = 0
|
|
skip-log-bin
|