Session 24: Connect everything — Slate wired to all sources, copy fixed, nav fixed, startup prefetch, language button removed (1571 tests)
This commit is contained in:
@@ -4,6 +4,9 @@ const app = require('./app');
|
||||
// otherwise only manifests when the gateway tries to fall over and
|
||||
// finds no chain.
|
||||
const { getConfiguredProviders, listProviderIds } = require('./config/providers');
|
||||
// Session 24 — warm the Tank01 cache after boot so streaks / hot lists /
|
||||
// game lines have data on the first page load. Non-blocking; see module.
|
||||
const { scheduleStartupPrefetch } = require('./startupPrefetch');
|
||||
|
||||
// Default 3001 — Next.js owns 3000 locally and in production. The poller,
|
||||
// internal cron, and BASE_URL conventions all assume 3001 for the Express
|
||||
@@ -18,4 +21,8 @@ app.listen(PORT, () => {
|
||||
if (missing.length) {
|
||||
console.warn(`[VYNDR] providers missing keys: ${missing.join(', ')}`);
|
||||
}
|
||||
|
||||
// Session 24 — fire-and-forget cache warm. 5s delay so Redis is ready.
|
||||
// Skips itself when RAPID_API_KEY is unset; never blocks or crashes boot.
|
||||
scheduleStartupPrefetch();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user