From 01e8c12b5b244e0114d37fb2512c299c3d0756cb Mon Sep 17 00:00:00 2001 From: richardr1126 Date: Thu, 5 Dec 2024 01:09:25 -0700 Subject: [PATCH] Change back to 1 workers --- Procfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Procfile b/Procfile index 65d14b2..c37b3fb 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -web: gunicorn web.app:app --bind 0.0.0.0:8000 --workers 2 +web: gunicorn web.app:app --bind 0.0.0.0:8000 firehose: python start_stream.py \ No newline at end of file diff --git a/README.md b/README.md index 730a180..394593f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ - The generator offers custom filtering using SQLite and regular expressions to identify Cosmere-related content. - It integrates trending posts by calculating interaction scores and maintains the database by cleaning outdated entries with `apscheduler`. -- Deployment is streamlined with `gunicorn` (2 workers) and managed using `honcho` (see Procfile) to run `web` (with 2 workers) seperatly from `firehose` data stream. +- Deployment is streamlined with `gunicorn` and managed using `honcho` (see Procfile) to run `web` seperatly from `firehose` data stream. - Will run on **0.5 CPU**, **0.5 GB RAM**. > **Note:** Posts are only kept for 3 days, and trending posts are calculated based on interactions within the last 24 hours.