Skip to content

Commit

Permalink
feat: update worker config to use cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Nov 20, 2023
1 parent a41faad commit a914b9d
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions shopware/paas-meta/6.4/.platform/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,9 @@
commands:
start: |
bin/console cache:clear
bin/console messenger:consume async --memory-limit=$(cat /run/config.json | jq .info.limits.memory)M --time-limit=295
queue-failed:
disk: 128
commands:
start: |
bin/console cache:clear
bin/console messenger:consume failed --memory-limit=$(cat /run/config.json | jq .info.limits.memory)M --time-limit=295
scheduled-task:
disk: 128
commands:
start: |
bin/console cache:clear
bin/console scheduled-task:run --memory-limit=$(cat /run/config.json | jq .info.limits.memory)M --time-limit=295
bin/console messenger:consume async,failed --memory-limit=$(cat /run/config.json | jq .info.limits.memory)M --time-limit=295
crons:

Check failure on line 221 in shopware/paas-meta/6.4/.platform/applications.yaml

View workflow job for this annotation

GitHub Actions / call-qa / Run checks

You cannot define a mapping item when in a sequence at line 221 (near "crons:").
scheduler:
spec: '*/5 * * * *'
cmd: 'php bin/console scheduled-task:run --no-wait'

0 comments on commit a914b9d

Please sign in to comment.