added anon metrics to recommendations

This commit is contained in:
nvrl committed 2026-07-26 17:23:07 +02:00
1 parent daeda71eca
commit 3757b784de
23 files changed
+1544 -66

No files matched your search

+15
View File
@@ -41,5 +41,20 @@ JWT_AUTH_COOKIE_SECURE=false
# instances must leave it false or jobs fire twice.
ENABLE_SCHEDULER=false
# --- Shop reviews (sync_reviews job) --------------------------------------
# reviews.io store slug to pull anonymous shop reviews from. They feed the
# recommender as a prior under the community's own ratings — see
# src/recommend.rs.
REVIEWS_STORE=holy
# Cap on pages fetched per run (100 reviews per page). The incremental sync
# stops on its own after a few pages; this only bounds a first-run backfill.
#REVIEWS_MAX_PAGES=2000
# Salt for the one-way hash of upstream reviewer ids. Defaults to SECRET_KEY.
# Changing it re-pseudonymises new rows only, so old rows stop joining up with
# them — truncate `external_review` and re-sync if you rotate it.
#REVIEWS_HASH_SALT=change-me
# tracing filter
RUST_LOG=info,holy_backend_rs=debug,sea_orm=warn