Speed up daily reindex: skip empty JSON rewrites and upsert only changed posts.
Keep channel mtime stable when merge finds no new posts, and rebuild FTS only for new/changed content so large daily channels stay cheap. Drop --reindex-all from renew.sh for incremental runs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
cd /home/grayhook/Documents/mattermost-dl && .venv/bin/python mattermost-dl.py --team esr-daily --channel all
|
||||
cd /home/grayhook/Documents/mattermost-dl && .venv/bin/python mm_index.py --reindex-all
|
||||
cd /home/grayhook/Documents/mattermost-dl && .venv/bin/python mattermost-dl.py --team esr-dev-and-qa --channel QoSd
|
||||
cd /home/grayhook/Documents/mattermost-dl && .venv/bin/python mattermost-dl.py --team esr-dev-and-qa --channel VSAT
|
||||
cd /home/grayhook/Documents/mattermost-dl && .venv/bin/python mm_index.py
|
||||
|
||||
Reference in New Issue
Block a user