mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-16 10:25:07 +08:00
【fix】
This commit is contained in:
@ -4,14 +4,16 @@ spring:
|
||||
client:
|
||||
# inet-host: 124.222.48.62
|
||||
# inet-port: 30676
|
||||
inet-host: 124.222.152.160
|
||||
inet-port: 30560
|
||||
# inet-host: 192.168.2.105
|
||||
# inet-host: 124.222.152.160
|
||||
# inet-port: 30560
|
||||
# inet-host: 127.0.0.1
|
||||
# inet-port: 7001
|
||||
inet-host: 36.26.30.20
|
||||
inet-port: 30560
|
||||
inet-path: wu-lazy-cloud-heartbeat-server
|
||||
client-id: wujiawei # 客户端ID
|
||||
app-key: key
|
||||
app-secret: secret
|
||||
client-id: http-local-proxy # 客户端ID
|
||||
app-key: a4bf4415-25aa-4007-914b-31ec77d1292f
|
||||
app-secret: 88e6d827-12e7-4a5d-93e0-92c04c2414bc
|
||||
protocol-type: tcp
|
||||
# inet-host: 124.222.48.62 # 服务端地址
|
||||
# inet-port: 30676 #服务端端口
|
||||
@ -27,17 +29,17 @@ spring:
|
||||
password: wujiawei
|
||||
database: 2
|
||||
|
||||
---
|
||||
#spring:
|
||||
# datasource:
|
||||
# url: jdbc:h2:~/client_heartbeat;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER=true;MODE=MySQL;CASE_INSENSITIVE_IDENTIFIERS=TRUE
|
||||
# username: sa
|
||||
# driver-class-name: org.h2.Driver
|
||||
|
||||
---
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/wu_lazy_cloud_heartbeat_client_start?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
|
||||
username: root
|
||||
password: wujiawei
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:h2:~/client_heartbeat;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE;DATABASE_TO_UPPER=true;MODE=MySQL;CASE_INSENSITIVE_IDENTIFIERS=TRUE
|
||||
username: sa
|
||||
driver-class-name: org.h2.Driver
|
||||
|
||||
---
|
||||
#spring:
|
||||
# datasource:
|
||||
# url: jdbc:mysql://127.0.0.1:3306/wu_lazy_cloud_heartbeat_client_start?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
|
||||
# username: root
|
||||
# password: wujiawei
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
@ -21,4 +21,16 @@ spring:
|
||||
---
|
||||
#logging:
|
||||
# level:
|
||||
# root: DEBUG
|
||||
# root: DEBUG
|
||||
---
|
||||
spring:
|
||||
lazy:
|
||||
netty:
|
||||
protocol:
|
||||
proxy:
|
||||
tcp-protocol-proxy:
|
||||
port: 9002
|
||||
udp-protocol-proxy:
|
||||
port: 10002
|
||||
http-protocol-proxy:
|
||||
port: 8002
|
||||
|
@ -13,6 +13,7 @@ spring:
|
||||
node-host: 127.0.0.1 # 当前节点host
|
||||
node-port: 7001 # 当前节点端口
|
||||
enable-flow-control: true # 允许流量控制,代理性能不太好
|
||||
enable-token-verification: false #是否开启 token 验证
|
||||
tcp:
|
||||
port: 7001
|
||||
udp:
|
||||
|
Reference in New Issue
Block a user