Samuel Clay
ec41e9abaf
Round robin on all haproxy backup servers for blue-green deploys.
2025-02-02 21:43:47 -08:00
Samuel Clay
934caff501
Merge branch 'blue-green-deploy'
...
* blue-green-deploy:
HAProxy routine during deploy should only run once.
Blue green deploys are working!
Working but slow due to having to indeterminately wait for haproxy to settle.
gunicorn can still run on port 8000, docker will translate the port.
Fixing docker commands, adding health check.
Blue green deploy, doesn't work yet.
2025-02-02 21:26:30 -08:00
Samuel Clay
5cc75cca16
HAProxy routine during deploy should only run once.
2025-02-02 21:19:27 -08:00
Samuel Clay
1551cc013d
Blue green deploys are working!
2025-02-02 14:41:02 -08:00
Samuel Clay
6e005416ed
Working but slow due to having to indeterminately wait for haproxy to settle.
2025-02-02 13:37:43 -08:00
Samuel Clay
619dec1688
gunicorn can still run on port 8000, docker will translate the port.
2025-02-02 12:34:23 -08:00
Samuel Clay
8053c40b7b
Fixing docker commands, adding health check.
2025-02-02 12:30:43 -08:00
Samuel Clay
fd48cb8bd5
Merge branch 'master' into blue-green-deploy
...
* master:
Thank you o1 for proofreading
Finishing discover blog post, needs proofreading.
fix small typo
Discover blog post draft.
Missing import.
User searches in prometheus.
Fixing issue where dupe classifiers cause new classifiers to not be saved.
2025-02-02 12:00:27 -08:00
Samuel Clay
f4b68a5610
Merge branch 'discover-blog-post'
...
* discover-blog-post:
Thank you o1 for proofreading
Finishing discover blog post, needs proofreading.
Discover blog post draft.
2025-02-02 11:54:17 -08:00
Samuel Clay
f12ac5e2f1
Thank you o1 for proofreading
2025-02-02 11:53:56 -08:00
Samuel Clay
e8b02f6387
Finishing discover blog post, needs proofreading.
2025-02-02 11:49:54 -08:00
Samuel Clay
ce88b3a338
Merge pull request #1930 from md42/master
...
fix small typo
2025-01-30 09:36:16 -08:00
Martin Dürrmeier
da4f5814ed
fix small typo
2025-01-30 17:36:25 +01:00
Samuel Clay
f35b99c295
Discover blog post draft.
2025-01-27 22:28:08 -08:00
Samuel Clay
c4e33ff541
Missing import.
2025-01-27 15:06:45 -08:00
Samuel Clay
bacc3b9e4d
User searches in prometheus.
2025-01-27 15:02:53 -08:00
Samuel Clay
0476f7b83c
Fixing issue where dupe classifiers cause new classifiers to not be saved.
2025-01-27 15:02:53 -08:00
Samuel Clay
c0c7a2f2de
Blue green deploy, doesn't work yet.
2025-01-21 14:30:31 -08:00
Samuel Clay
54c60c1a23
Ratelimit starred stories
2025-01-21 14:28:52 -08:00
Samuel Clay
74237b6c48
Run discover in the same thread and not in the background.
2025-01-14 09:58:33 -08:00
Samuel Clay
c0cbb8cc11
5 min fetches should be between 5-10 minutes.
2025-01-14 09:57:43 -08:00
Samuel Clay
024620b306
Launching relatedd stories sideoption.
2025-01-13 17:09:07 -08:00
Samuel Clay
841c02875f
Fix for processing a feed redirect.
2025-01-11 01:25:46 -08:00
Samuel Clay
64a1071943
Log needs a warning type.
2025-01-11 01:12:07 -08:00
Samuel Clay
ca14b99de7
Merge pull request #1832 from samuelclay/discover
...
Discover Feeds
2025-01-10 12:49:08 -08:00
Samuel Clay
65f01e0dc5
Review
2025-01-10 12:48:41 -08:00
Samuel Clay
24826b523c
Only htask-celery-10 is tasked with indexing discover feeds, since they can bog down the whole queue.
2025-01-10 07:59:36 -08:00
Samuel Clay
ddb5005a5c
Only staff see the new Related Stories button for now.
2025-01-10 07:54:06 -08:00
Samuel Clay
96540f02a2
Defaulting to /month price for stripe premium pro.
2025-01-07 18:01:10 -08:00
Samuel Clay
84142b6d33
Dark mode for premium prorate message.
2025-01-07 17:58:02 -08:00
Samuel Clay
f6677f512a
New Premium Pro subscription.
2025-01-07 17:50:52 -08:00
Samuel Clay
936ca40d70
Sorting long feeds in date descending order so we cut off the oldest stories, not the newest.
2025-01-07 05:52:05 -08:00
Samuel Clay
5e87091e02
New task celery role
2024-12-27 12:17:53 -05:00
Samuel Clay
8278d9fe1d
Don't count similar feeds on the regular.
2024-12-25 17:51:49 -05:00
Samuel Clay
9967692d53
Logging
2024-12-25 17:33:58 -05:00
Samuel Clay
ff52a4f335
DEBUG is always True this high up.
2024-12-25 12:52:30 -05:00
Samuel Clay
9fecce485e
Python3 only has logging.warning.
2024-12-24 22:51:46 -05:00
Samuel Clay
148abed4a9
ES no longer allows positional arguments.
2024-12-24 22:44:55 -05:00
Samuel Clay
e55e6c3bd5
Fixing monitor to use new venv.
2024-12-24 22:43:01 -05:00
Samuel Clay
6c5aed53eb
Db monitor for ES needs to point to the correct server.
2024-12-24 22:24:53 -05:00
Samuel Clay
7a9894e31b
Db monitor for ES needs to point to the correct server.
2024-12-24 22:23:50 -05:00
Samuel Clay
b43b4e8016
Ansible_tags is not defined.
2024-12-24 20:03:22 -05:00
Samuel Clay
eb5ea92390
Switching to elasticsearch v8 for discover.
2024-12-24 19:53:37 -05:00
Samuel Clay
73781116d5
Adding elasticsearch v8 for dense vector support in discover.
2024-12-24 19:46:43 -05:00
Samuel Clay
5f02400567
Re-normalizing dense vectors from 1584 dimensions to 256 dimensions, applying bbq_hnsw index to save 96% memory usage on vector embeddings.
2024-12-24 19:40:48 -05:00
Samuel Clay
be7380a0a4
Small fix to requirements (wrong pyflakes)
2024-12-24 18:05:28 -05:00
Samuel Clay
335bf1922d
Logging old discover date vs unindexed.
2024-12-21 12:52:41 -05:00
Samuel Clay
58754abaa7
Fixing touch discover date typo
2024-12-21 12:50:50 -05:00
Samuel Clay
e6e8800ae0
Fixing padding on story titles in discover.
2024-12-20 22:59:46 -05:00
Samuel Clay
f6676ebd5c
Showing Related text next to discover popover if no feed icons are loaded.
2024-12-20 11:44:10 -05:00