variable EVENTS_CACHE_TTL_MS

In-memory events cache. Loads all events with attendee counts in a single query and serves subsequent reads from memory until the TTL expires or a write invalidates the cache.

Type

60000

Usage

import { EVENTS_CACHE_TTL_MS } from "docs/database.ts";