#测试环境 server: port: 9509 compression: enabled: true mime-types: application/json spring: application: # 应用名称 name: m2pool-chat # profiles: # # 环境配置 # active: test cloud: nacos: discovery: # 服务注册地址 server-addr: 127.0.0.1:8808 namespace: m2_test group: m2_test_group # server-addr: 127.0.0.1:8808 config: # 配置中心地址 server-addr: 127.0.0.1:8808 # server-addr: 127.0.0.1:8808 # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} namespace: m2_test group: m2_test_group servlet: multipart: max-file-size: 2MB max-request-size: 8MB websocket: transport: message-size-limit: 1500 # 消息大小限制 1.5k 约500汉字 send-time-limit: 5000 # 发送超时时间 5秒 send-buffer-size-limit: 65536 # 发送缓冲区大小 64K time-to-first-message: 5000 # 首次消息超时时间 5秒 max-connections: 100 # 最大连接数