Skip to content

Commit fbe88d2

Browse files
author
dmitriy
committed
fixed supervisord
1 parent 29b3a6c commit fbe88d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/packages/messenger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ framework:
77
# is "pinged" and reconnected if it's closed. Useful
88
# if your workers run for a long time and the database
99
# connection is sometimes lost
10-
#- doctrine_ping_connection
10+
- doctrine_ping_connection
1111

1212
# After handling, the Doctrine connection is closed,
1313
# which can free up database connections in a worker,

docker/general/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ autorestart=true
88

99
[program:messenger-consume]
1010
directory=/var/www/html/
11-
command=/usr/local/bin/php bin/console messenger:consume async
11+
command=/usr/local/bin/php bin/console messenger:consume async_priority_high async_priority_low
1212
#user=ubuntu
1313
#numprocs=2
1414
autostart=true

0 commit comments

Comments
 (0)