diff --git a/config/packages/messenger.yaml b/config/packages/messenger.yaml index a970130..0423a40 100644 --- a/config/packages/messenger.yaml +++ b/config/packages/messenger.yaml @@ -22,7 +22,7 @@ framework: check_delayed_interval: 60000 queue_name: download retry_strategy: - max_retries: 1 + max_retries: 3 multiplier: 1 monitor: @@ -58,10 +58,10 @@ framework: # 'App\Message\YourMessage': async 'App\Download\Action\Command\DownloadMediaCommand': download 'App\Download\Action\Command\DownloadSeasonCommand': async - 'App\Monitor\Action\Command\MonitorTvEpisodeCommand': async - 'App\Monitor\Action\Command\MonitorTvSeasonCommand': async - 'App\Monitor\Action\Command\MonitorTvShowCommand': async - 'App\Monitor\Action\Command\MonitorMovieCommand': async + 'App\Monitor\Action\Command\MonitorTvEpisodeCommand': monitor + 'App\Monitor\Action\Command\MonitorTvSeasonCommand': monitor + 'App\Monitor\Action\Command\MonitorTvShowCommand': monitor + 'App\Monitor\Action\Command\MonitorMovieCommand': monitor 'App\Torrentio\Action\Command\GetTvShowOptionsCommand': media_cache # when@test: diff --git a/docker/worker/supervisord.conf b/docker/worker/supervisord.conf index be6088b..ff890d4 100644 --- a/docker/worker/supervisord.conf +++ b/docker/worker/supervisord.conf @@ -16,7 +16,7 @@ startretries=3 process_name=%(program_name)s_%(process_num)02d [program:torsearch-scheduler] -command=/app/bin/console messenger:consume scheduler -vv +command=/app/bin/console messenger:consume scheduler_monitor monitor -vv --time-limit 21600 numprocs=1 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0