Skip to content

Commit

Permalink
asynq
Browse files Browse the repository at this point in the history
  • Loading branch information
smgano committed May 18, 2024
1 parent d0bb5c5 commit fb76581
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ asynq:
#是否开启 数据面板服务
enable: false
#是否开启调度注册; 当多台机器时会重复注册,导致任务执行多次;多个机器只需要开启一台服务的注册即可;执行任务时分布式的
enableRegisterSched: true
enableRegisterSched: false
#动态调度任务 配置文件路径
periodicTaskConfig: '/apps/conf/gin-api-http/periodic_task_config.yaml'
# 是否开启动态任务调度 注册,分布式服务保持一台可以调度即可; 否则出现重复任务
Expand Down
4 changes: 2 additions & 2 deletions config/env_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ asynq:
# asynq monitoring 监控dashbord服务端口
port: 7013
#是否开启 数据面板服务
enable: true
enable: false
#是否开启调度注册; 当多台机器时会重复注册,导致任务执行多次;多个机器只需要开启一台服务的注册即可;执行任务时分布式的
enableRegisterSched: true
enableRegisterSched: false
#动态调度任务 配置文件路径
periodicTaskConfig: '/apps/conf/gin-api-http/periodic_task_config.yaml'
# 是否开启动态任务调度 注册,分布式服务保持一台可以调度即可; 否则出现重复任务
Expand Down
4 changes: 2 additions & 2 deletions config/env_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ asynq:
# asynq monitoring 监控dashbord服务端口
port: 7013
#是否开启 数据面板服务
enable: true
enable: false
#是否开启调度注册; 当多台机器时会重复注册,导致任务执行多次;多个机器只需要开启一台服务的注册即可;执行任务时分布式的
enableRegisterSched: true
enableRegisterSched: false
#动态调度任务 配置文件路径
periodicTaskConfig: '/apps/conf/gin-api-http/periodic_task_config.yaml'
# 是否开启动态任务调度 注册,分布式服务保持一台可以调度即可; 否则出现重复任务
Expand Down

0 comments on commit fb76581

Please sign in to comment.