Skip to content

Commit

Permalink
fix: Simplify supervisord configuration and change message routing to…
Browse files Browse the repository at this point in the history
… sync
  • Loading branch information
MrAnyx committed Jan 3, 2025
1 parent a887255 commit fd891cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .docker/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[supervisord]
logfile=/dev/null
logfile_maxbytes=0

[program:messenger-consume]
command=php /var/www/html/bin/console messenger:consume async --time-limit=3600
user=root
Expand All @@ -11,6 +7,3 @@ autostart=true
autorestart=true
startretries=10
process_name=%(program_name)s_%(process_num)02d
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
2 changes: 1 addition & 1 deletion config/packages/messenger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ framework:
sync: "sync://"

routing:
App\Message\SendTextEmailMessage: async
App\Message\SendTextEmailMessage: sync
# when@test:
# framework:
# messenger:
Expand Down

0 comments on commit fd891cb

Please sign in to comment.