Skip to content

cron: warm /perps hub in health-check every 5 min - #1613

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/perp-cron-perps-warmup
Jul 28, 2026
Merged

cron: warm /perps hub in health-check every 5 min#1613
Flotapponnier merged 1 commit into
mainfrom
hotfix/perp-cron-perps-warmup

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #1612 (feat/perp-cron-perps-warmup → dev).

Adds /perps to the hub warmup list in the health-check cron (runs every 5 min).

Without this, the ISR render for /perps was triggered by the first real user after each 60s window instead of the cron. The warmup also triggers fetchPerpCohort() which refreshes the Upstash perp-cohort snapshot if stale.

@Flotapponnier
Flotapponnier merged commit 8b62c4c into mainJul 28, 2026
1 check failed
Sign up for freeto 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.

1 participant

@Flotapponnier