Skip to content

Commit

Permalink
update 优化 snailjob 客户端端口随主应用漂移端口
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaLionLi committed Jun 20, 2024
1 parent 147a903 commit 59edca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ruoyi-admin/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ snail-job:
port: 1788
# 详见 script/sql/snail_job.sql `sj_namespace` 表
namespace: ${spring.profiles.active}
# 随主应用端口飘逸
port: 2${server.port}

--- # 数据源配置
spring:
Expand Down
2 changes: 2 additions & 0 deletions ruoyi-admin/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ snail-job:
port: 1788
# 详见 script/sql/snail_job.sql `sj_namespace` 表
namespace: ${spring.profiles.active}
# 随主应用端口飘逸
port: 2${server.port}

--- # 数据源配置
spring:
Expand Down

0 comments on commit 59edca8

Please sign in to comment.