Compare commits

..

4 Commits

Author SHA1 Message Date
Brock H Caldwell
b01840b111 fix: adds process for async transport to worker 2025-11-03 16:35:26 -06:00
Brock H Caldwell
1759b6dfdc fix: send monitors to new transport 2025-11-03 14:45:29 -06:00
Brock H Caldwell
2d3bc35e45 fix: incorrect transport for scheduler 2025-11-02 23:04:51 -06:00
Brock H Caldwell
69f07b57ce fix(worker): removes unnecessary arguments passed to container 2025-11-02 22:51:13 -06:00
3 changed files with 18 additions and 7 deletions

View File

@@ -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:

View File

@@ -23,7 +23,7 @@ services:
- /mnt/media/downloads/movies:/var/download/movies
- /mnt/media/downloads/tvshows:/var/download/tvshows
restart: always
command: -vv --time-limit=3600 --limit=10
# command: -vv --time-limit=3600 --limit=10
deploy:
replicas: 2
depends_on:

View File

@@ -4,6 +4,17 @@ logfile=/dev/null
logfile_maxbytes=0
pidfile=/run/supervisord.pid
[program:torsearch-worker]
command=/app/bin/console messenger:consume async -vv --time-limit 3600
numprocs=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=true
startretries=3
process_name=%(program_name)s_%(process_num)02d
[program:torsearch-worker]
command=/app/bin/console messenger:consume download -vv --time-limit 3600
numprocs=1
@@ -16,7 +27,7 @@ startretries=3
process_name=%(program_name)s_%(process_num)02d
[program:torsearch-scheduler]
command=/app/bin/console messenger:consume monitor -vv
command=/app/bin/console messenger:consume scheduler_monitor monitor -vv --time-limit 21600
numprocs=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0