【message】websocket

pull/65/head
liuhanqing 4 years ago
parent ac3d27cbf4
commit 3ebac41843

@ -2,9 +2,9 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
url: jdbc:mysql://192.168.253.20:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
username: root
password: 123456
password: MySQLrootcmdi1953!(@)
# 连接池大小根据实际情况调整
max-active: 100

@ -67,3 +67,6 @@ prometheus:
url: http://localhost:9090/api/v1/
# 非必须配置项
instance:
web-socket:
open: true
ws-url: ws://localhost:${server.port}/message/websocket/{userId}

Loading…
Cancel
Save