Browse Source

[Optimization] try place AC queue on config

mlnicolas 3 years ago
parent
commit
ab792d05c9

+ 3 - 0
crss-dataflow-app/crss-dataflow-app.yml

@@ -79,6 +79,9 @@ sftp:
     privateKey:
 
 scheduler:
+  #Y/N: Y means that Adddtional Compensation Run will be queued on Monthly. Also need to change
+  #spring.cloud.deployer.mesos.chronos.constraints on crss-settlement-task-calculation-addtlcomp.yml to rack,EQUALS,rack-monthly
+  execute-ac-at-monthly-node: N
   parallel-stl-monthly-job: 7
   interval-milliseconds: 10000
 #  launch-timeout-seconds: 900

+ 1 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp.yml

@@ -81,6 +81,7 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10001/v1
           memory: 6144 
           cpu: 1
+          #Change this to rack,EQUALS,rack-monthly if scheduler.execute-ac-at-monthly-node is Y in crss-dataflow-app.yml
           constraints: rack,EQUALS,rack-daily
         dcos:
           authorizationToken: ${crss.dcos.token}