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 91d92f1
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:
scheduler:
spec: '*/5 * * * *'
cmd: 'php bin/console scheduled-task:run --no-wait'

0 comments on commit 91d92f1

Please sign in to comment.