Prewarm thread message-count cache for faster /threads open.
Fetches a bounded list of recent threads and populates counts into the in-memory cache. Intended to run in a background worker during app startup.
prewarm_thread_message_counts(
limit: int | None = None,
) -> None| Name | Type | Description |
|---|---|---|
limit | int | None | Default: NoneMaximum threads to prewarm. Uses |