Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update worker config to use cronjobs #63

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Loading