mirror of https://gitee.com/stylefeng/guns
【message】websocket
parent
ac3d27cbf4
commit
3ebac41843
|
@ -2,9 +2,9 @@
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
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
|
username: root
|
||||||
password: 123456
|
password: MySQLrootcmdi1953!(@)
|
||||||
|
|
||||||
# 连接池大小根据实际情况调整
|
# 连接池大小根据实际情况调整
|
||||||
max-active: 100
|
max-active: 100
|
||||||
|
|
|
@ -67,3 +67,6 @@ prometheus:
|
||||||
url: http://localhost:9090/api/v1/
|
url: http://localhost:9090/api/v1/
|
||||||
# 非必须配置项
|
# 非必须配置项
|
||||||
instance:
|
instance:
|
||||||
|
web-socket:
|
||||||
|
open: true
|
||||||
|
ws-url: ws://localhost:${server.port}/message/websocket/{userId}
|
||||||
|
|
Loading…
Reference in New Issue