fix(youtube-downloader): subprocess yt-dlp CLI — bypass _ssl handshake timeout

This commit is contained in:
vrubelroman 2026-06-08 16:17:02 +00:00
parent ce6505c9bb
commit 4d575059b0
3 changed files with 356 additions and 786 deletions

View file

@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p downloads
ENV PYTHONUNBUFFERED=1
CMD sh -c "gunicorn --workers=1 --timeout=600 --preload --bind=0.0.0.0:\${PORT:-5000} app:app"
CMD sh -c "gunicorn --workers=1 --timeout=600 --preload --max-requests=1 --bind=0.0.0.0:\${PORT:-5000} app:app"