Skip to content

chore(backend): stop weekly ZEN price cron (quest/reward disabled)#288

Merged
gianalarcon merged 1 commit into
developfrom
chore/disable-zen-price-scheduler
Jun 10, 2026
Merged

chore(backend): stop weekly ZEN price cron (quest/reward disabled)#288
gianalarcon merged 1 commit into
developfrom
chore/disable-zen-price-scheduler

Conversation

@Huygon764

Copy link
Copy Markdown
Contributor

What

Unregister PriceScheduler from PriceModule so the weekly ZEN price capture cron (0 11 * * 5, Fridays) no longer runs.

Why

The scheduler captured the weekly ZEN price solely to feed the Quest/Reward payout flow, which is disabled. With no consumer, the Friday cron kept hitting CoinGecko and writing WeeklyZenPrice rows for nothing.

Kept for reuse (disable, not remove)

  • price.scheduler.ts file and PriceService capture methods (captureWeeklyZenPrice, getZenPriceForWeek) left in place — re-add PriceScheduler to providers to re-enable.
  • Live GET /prices endpoint unaffected.
  • No Prisma schema changes.

Test

  • Backend build passes via pre-commit yarn build:backend.

The PriceScheduler captured the weekly ZEN price solely to feed the
Quest/Reward payout flow, which is disabled. Unregister it from
PriceModule so its Friday cron no longer runs. The scheduler file and
PriceService capture methods are kept for future reuse; the live
GET /prices endpoint is unaffected.
@gianalarcon gianalarcon merged commit e4415ee into develop Jun 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants