We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ae914 commit 15a46cbCopy full SHA for 15a46cb
Dockerfile
@@ -4,4 +4,4 @@ WORKDIR /usr/src/app
4
COPY . .
5
RUN pip3 install --upgrade pip
6
RUN pip install -r requirements.txt
7
-CMD gunicorn app:app -b 0.0.0.0:8000 --workers 2 --worker-class gevent --timeout 60 --max-requests 1000 --max-requests-jitter 200
+CMD gunicorn app:app -b 0.0.0.0:8000 --workers 2 --timeout 60 --max-requests 1000 --max-requests-jitter 200
scraper.py
@@ -26,6 +26,8 @@ def scrape_schedules():
26
def scrape_videos():
27
logging.info("Scraping YouTube videos")
28
fetch_videos()
29
+ elapsed_time = time.time() - start_time
30
+ logging.info(f"Completed scraping videos in {elapsed_time:.2f} seconds")
31
32
33
def signal_handler(sig, frame):
0 commit comments