All checks were successful
test/timeline-server/pipeline/head This commit looks good
1. 新增通知中心功能,支持好友请求、评论、点赞等多种通知类型的持久化与推送 2. 集成 RabbitMQ 用于异步处理动态日志,解耦动态服务与日志记录逻辑 3. 提供完整的 Docker Compose 部署方案及一键启动/停止脚本(Shell/Bat) 4. 优化文件服务,增加图片上传时的自动压缩处理以节省存储空间 5. 增强动态服务,支持通过 shareId 公开访问动态项及关键词搜索功能 6. 完善代码健壮性,在关键业务 Service 层增加 @Transactional 事务控制
45 lines
880 B
INI
45 lines
880 B
INI
[mysqld]
|
|
# Basic settings
|
|
port = 33306
|
|
bind-address = 0.0.0.0
|
|
server-id = 1
|
|
|
|
# Data directory
|
|
datadir = /var/lib/mysql
|
|
|
|
# Character set
|
|
character-set-server = utf8mb4
|
|
collation-server = utf8mb4_unicode_ci
|
|
|
|
# Log settings
|
|
log-error = /var/log/mysql/error.log
|
|
slow-query-log = 1
|
|
slow-query-log-file = /var/log/mysql/slow.log
|
|
long_query_time = 2
|
|
|
|
# Connection settings
|
|
max_connections = 200
|
|
max_connect_errors = 6000
|
|
open_files_limit = 65535
|
|
|
|
# InnoDB settings
|
|
default-storage-engine = innodb
|
|
innodb_buffer_pool_size = 1G
|
|
innodb_log_file_size = 256M
|
|
innodb_log_buffer_size = 64M
|
|
innodb_flush_log_at_trx_commit = 2
|
|
innodb_lock_wait_timeout = 50
|
|
|
|
# Security
|
|
skip-name-resolve
|
|
|
|
# Binary log (for replication)
|
|
log-bin = mysql-bin
|
|
binlog-format = ROW
|
|
expire_logs_days = 7
|
|
|
|
# Performance settings
|
|
query_cache_size = 64M
|
|
query_cache_type = 1
|
|
tmp_table_size = 256M
|
|
max_heap_table_size = 256M |