mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Adds campaign to weights of current promos and passes it up to the
spotlight render function to make it available for tracking at runtime.
Notes about rollout:
- This change modifies the live promotions data structure stored in permacache.
To prevent exceptions during rollout, it adds a version number to
the promotion key. Preload the new data structure before pushing this
change by running promote.make_daily_promotions() from staging with the
new code.