Skip to content

Commit

Permalink
Change back to 1 workers
Browse files Browse the repository at this point in the history
  • Loading branch information
richardr1126 committed Dec 5, 2024
1 parent 716a539 commit 01e8c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 01e8c12

Please sign in to comment.