mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Simplify consumer recipe
This commit is contained in:
@@ -60,12 +60,6 @@ crons:
|
||||
|
||||
workers:
|
||||
messenger:
|
||||
# PHP background workers usually don't require much CPU.
|
||||
# See https://symfony.com/doc/current/cloud/cookbooks/resources_allocation.html
|
||||
size: XS
|
||||
resources:
|
||||
base_memory: 64 # Keep in sync with the `memory-limit` flag value
|
||||
memory_ratio: 128
|
||||
commands:
|
||||
# Don't forget to update your receiver name(s)
|
||||
# Consume "async" messages (as configured in the routing section of config/packages/messenger.yaml)
|
||||
start: symfony console --time-limit=3600 --memory-limit=64M messenger:consume async
|
||||
|
||||
Reference in New Issue
Block a user