update 优化 snailjob 与 其他应用端口冲突问题 改为主应用漂移端口
This commit is contained in:
parent
6186881615
commit
33880f3e86
@ -17,7 +17,8 @@ snail-job:
|
||||
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
|
||||
server:
|
||||
host: 127.0.0.1
|
||||
port: 1788
|
||||
# 28080 端口 随着主应用端口漂移 避免集群冲突
|
||||
port: 2${server.port}
|
||||
# 详见 script/sql/snail_job.sql `sj_namespace` 表
|
||||
namespace: ${spring.profiles.active}
|
||||
|
||||
|
@ -20,7 +20,8 @@ snail-job:
|
||||
token: "SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT"
|
||||
server:
|
||||
host: 127.0.0.1
|
||||
port: 1788
|
||||
# 28080 端口 随着主应用端口漂移 避免集群冲突
|
||||
port: 2${server.port}
|
||||
# 详见 script/sql/snail_job.sql `sj_namespace` 表
|
||||
namespace: ${spring.profiles.active}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user