Skip to content

Commit

Permalink
Merge pull request #63 from shopware/update-worker-cfg
Browse files Browse the repository at this point in the history
feat: update worker config to use cronjobs
  • Loading branch information
shyim authored Nov 20, 2023
2 parents a41faad + 91d92f1 commit 4155c75
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 4155c75

Please sign in to comment.