fix(youtube-downloader): subprocess yt-dlp CLI — bypass _ssl handshake timeout
This commit is contained in:
parent
ce6505c9bb
commit
4d575059b0
3 changed files with 356 additions and 786 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue