Files

1 line
42 KiB
JSON

{"repo": "cava-lierz/test", "files": {"server/src/main/resources/application.properties": {"c7533fb8b2711fa0f780a5f7502aeb17ea2f984a": {"t": 1785745400.8239815, "n": 4274, "h": "ff966de7dca44623", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=${MYSQL_PASSWORD}\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:${MONGO_PASSWORD}@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=${MONGO_PASSWORD}\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=${JWT_SECRET}\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=${DEEPSEEK_API_KEY}\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=${ALIYUN_OSS_ACCESS_KEY_ID}\naliyun.oss.access-key-secret=${ALIYUN_OSS_ACCESS_KEY_SECRET}\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=${APP_DATA_INIT_ENABLED:false}\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "0389928bae9aeb91c76bda245436cba120243811": {"t": 1785752755.8864114, "n": 4274, "h": "ff966de7dca44623", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=${MYSQL_PASSWORD}\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:${MONGO_PASSWORD}@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=${MONGO_PASSWORD}\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=${JWT_SECRET}\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=${DEEPSEEK_API_KEY}\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=${ALIYUN_OSS_ACCESS_KEY_ID}\naliyun.oss.access-key-secret=${ALIYUN_OSS_ACCESS_KEY_SECRET}\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=${APP_DATA_INIT_ENABLED:false}\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "724a6b833fad235e03470aac41ccdc1152c72953": {"t": 1785752757.3465834, "n": 4280, "h": "cf33b7e90a92cb36", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=admin20\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:admin20@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=admin20\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=mentaraSecretKeyForJWTAuthenticationAndAuthorizationSystem2024\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=sk-c42c8bde43e247379a765f0460206db8\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=LTAI5t6qBfKYhUozAPSFY94x\naliyun.oss.access-key-secret=28uyg6u9vSSHXWQIxXUwVVloo6TJHu\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=false\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "124d15ed0a17cdaea0c52b94bd45d8e7e4223c44": {"t": 1785752758.6266909, "n": 4288, "h": "a275a23aa0212edc", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=cava_lierz&2001\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:admin20@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=admin20\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=mentaraSecretKeyForJWTAuthenticationAndAuthorizationSystem2024\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=sk-c42c8bde43e247379a765f0460206db8\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=LTAI5t6qBfKYhUozAPSFY94x\naliyun.oss.access-key-secret=28uyg6u9vSSHXWQIxXUwVVloo6TJHu\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=false\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "aed41525726738775d1e457798ad16cfd9f3cf5d": {"t": 1785752761.1571338, "n": 4105, "h": "d07797da6358ac1c", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=admin20\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:admin20@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=admin20\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=mentaraSecretKeyForJWTAuthenticationAndAuthorizationSystem2024\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=sk-c42c8bde43e247379a765f0460206db8\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置(请替换为您的实际配置)\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=LTAI5t6qBfKYhUozAPSFY94x\naliyun.oss.access-key-secret=28uyg6u9vSSHXWQIxXUwVVloo6TJHu\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 禁用数据初始化\napp.data.init.enabled=false\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "0fb93e005096a9de8e6d812ef26541e1338f4552": {"t": 1785752762.5792563, "n": 4105, "h": "ecf22cf72da8487d", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=admin20\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:admin20@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=admin20\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=mentaraSecretKeyForJWTAuthenticationAndAuthorizationSystem2024\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=sk-c42c8bde43e247379a765f0460206db8\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8000\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置(请替换为您的实际配置)\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=LTAI5t6qBfKYhUozAPSFY94x\naliyun.oss.access-key-secret=28uyg6u9vSSHXWQIxXUwVVloo6TJHu\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 禁用数据初始化\napp.data.init.enabled=false\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "ff7b9269d2c4b27e26edb0c150f6f8d824d7af6d": {"t": 1785752767.9380894, "n": 4121, "h": "5f33af181dedce12", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://47.101.72.204:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=admin20\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:admin20@47.101.72.204:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=admin20\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=mentaraSecretKeyForJWTAuthenticationAndAuthorizationSystem2024\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=47.101.72.204\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=sk-c42c8bde43e247379a765f0460206db8\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://113.44.202.84:8000\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置(请替换为您的实际配置)\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=LTAI5t6qBfKYhUozAPSFY94x\naliyun.oss.access-key-secret=28uyg6u9vSSHXWQIxXUwVVloo6TJHu\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 禁用数据初始化\napp.data.init.enabled=false\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}}, "server/src/main/resources/application.example.properties": {"c7533fb8b2711fa0f780a5f7502aeb17ea2f984a": {"t": 1785745402.0958474, "n": 4274, "h": "ff966de7dca44623", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=${MYSQL_PASSWORD}\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:${MONGO_PASSWORD}@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=${MONGO_PASSWORD}\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=${JWT_SECRET}\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=${DEEPSEEK_API_KEY}\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=${ALIYUN_OSS_ACCESS_KEY_ID}\naliyun.oss.access-key-secret=${ALIYUN_OSS_ACCESS_KEY_SECRET}\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=${APP_DATA_INIT_ENABLED:false}\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}, "3584c37cb3b91ec2988123d15f91a88a295461ef": {"t": 1785752754.967774, "n": 4274, "h": "ff966de7dca44623", "c": "# 应用基本配置\nspring.application.name=mentara-server\nserver.port=8080\nserver.address=0.0.0.0\nserver.servlet.context-path=/api\n\n# MySQL\nspring.datasource.url=jdbc:mysql://localhost:3306/mentara?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true\nspring.datasource.username=root\nspring.datasource.password=${MYSQL_PASSWORD}\nspring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n\n# 时间格式配置\nspring.jackson.date-format=yyyy-MM-dd HH:mm:ss\nspring.jackson.time-zone=GMT+8\nspring.jackson.serialization.write-dates-as-timestamps=false\nspring.jackson.deserialization.fail-on-unknown-properties=false\n\n\n# MongoDB配置\nspring.data.mongodb.uri=mongodb://root:${MONGO_PASSWORD}@localhost:27017/mentara?authSource=admin\nspring.data.mongodb.username=root\nspring.data.mongodb.password=${MONGO_PASSWORD}\nspring.data.mongodb.authentication-database=admin\n\n# JPA/Hibernate 配置\nspring.jpa.database-platform=org.hibernate.dialect.MySQLDialect\nspring.jpa.hibernate.ddl-auto=update\nspring.jpa.show-sql=false\nspring.jpa.properties.hibernate.format_sql=false\n\n# JWT 配置 - 使用256位(32字节)安全密钥\nmentara.app.jwtSecret=${JWT_SECRET}\nmentara.app.jwtExpirationMs=86400000\nmentara.app.jwtRefreshExpirationMs=604800000\n\n# 日志配置\nlogging.level.com.mentara=WARN\nlogging.level.org.springframework.security=WARN\n\n# 跨域配置\ncors.allowed-origins=http://localhost:3000,http://localhost:3001\n\n# Qdrant Vector Database 配置\nqdrant.host=localhost\nqdrant.port=6334\nqdrant.timeout=30\nqdrant.collection.name=post_vector\n\n# Embedding Service配置\nembedding.host=127.0.0.1\nembedding.port=8081\nembedding.timeout=30000\n\n# DeepSeek API配置\ndeepseek.api-key=${DEEPSEEK_API_KEY}\ndeepseek.base-url=https://api.deepseek.com/v1\ndeepseek.default-model=deepseek-chat\ndeepseek.timeout=30000\ndeepseek.max-retries=3\n\n# Python微服务配置\npython.microservice.url=http://localhost:8082\npython.microservice.endpoint=/mood_score\npython.microservice.depress.endpoint=/depress_check\npython.microservice.timeout=10000\n\n# 阿里云OSS配置\naliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com\naliyun.oss.access-key-id=${ALIYUN_OSS_ACCESS_KEY_ID}\naliyun.oss.access-key-secret=${ALIYUN_OSS_ACCESS_KEY_SECRET}\naliyun.oss.bucket-name=mentara-dev-images\naliyun.oss.base-url=https://mentara-dev-images.oss-cn-shanghai.aliyuncs.com\n\n# 华为云 OBS 配置\nhuawei.obs.endpoint=obs.cn-east-3.myhuaweicloud.com\nhuawei.obs.access-key-id=${HUAWEI_OBS_AK}\nhuawei.obs.access-key-secret=${HUAWEI_OBS_SK}\nhuawei.obs.bucket-name=mentara0\n\n\n# 禁用数据初始化\napp.data.init.enabled=${APP_DATA_INIT_ENABLED:false}\n\n# 文件上传配置\nspring.servlet.multipart.max-file-size=10MB\nspring.servlet.multipart.max-request-size=10MB\nspring.servlet.multipart.enabled=true\nspring.servlet.multipart.file-size-threshold=2KB\n\n# === 高并发优化配置 ===\n\n# 数据库连接池配置 (HikariCP)\nspring.datasource.hikari.minimum-idle=10\nspring.datasource.hikari.maximum-pool-size=50\nspring.datasource.hikari.idle-timeout=300000\nspring.datasource.hikari.pool-name=HikariPool\nspring.datasource.hikari.max-lifetime=1200000\nspring.datasource.hikari.connection-timeout=20000\nspring.datasource.hikari.validation-timeout=3000\nspring.datasource.hikari.leak-detection-threshold=60000\n\n# MongoDB连接池配置\nspring.data.mongodb.options.max-connection-pool-size=50\nspring.data.mongodb.options.min-connection-pool-size=10\nspring.data.mongodb.options.max-connection-idle-time=300000\nspring.data.mongodb.options.max-connection-life-time=1200000\n\n# Tomcat服务器配置\nserver.tomcat.threads.max=200\nserver.tomcat.threads.min-spare=10\nserver.tomcat.max-connections=8192\nserver.tomcat.accept-count=100\nserver.tomcat.connection-timeout=20000\nserver.tomcat.keep-alive-timeout=20000\nserver.tomcat.max-keep-alive-requests=100\n\n# JPA批处理优化\nspring.jpa.properties.hibernate.jdbc.batch_size=20\nspring.jpa.properties.hibernate.order_inserts=true\nspring.jpa.properties.hibernate.order_updates=true\nspring.jpa.properties.hibernate.jdbc.batch_versioned_data=true\n\n# 异步任务配置\nspring.task.execution.pool.core-size=8\nspring.task.execution.pool.max-size=16\nspring.task.execution.pool.queue-capacity=100\nspring.task.execution.pool.keep-alive=60s\n\n# === 缓存配置 ===\n# 启用缓存\nspring.cache.type=simple\n# 缓存过期时间(毫秒)\nspring.cache.cache-names=users,posts,comments,notifications,userBlocks,userFollows,tags,experts,appointments,chatRooms,moodScores,statistics\n# 缓存统计信息\nmanagement.endpoints.web.exposure.include=caches,health,info"}}}}