fix: resolve messenger worker OOM by clearing EntityManager and disabling debug
Clear Doctrine identity map after each film import to prevent memory accumulation. Run messenger with --no-debug and higher PHP memory_limit to avoid profiling overhead in dev. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,11 @@ services:
|
||||
ports:
|
||||
- "${PORT_80:-80}:80"
|
||||
|
||||
messenger:
|
||||
command: ["php", "-d", "memory_limit=512M", "bin/console", "messenger:consume", "async", "--time-limit=3600", "--memory-limit=256M", "-vv", "--no-debug"]
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
database:
|
||||
ports:
|
||||
- "0.0.0.0:5432:5432"
|
||||
|
||||
Reference in New Issue
Block a user