Skip to content

Bug: misleading TTL comment in loadAndCache.ts #85

@mmcdermott

Description

@mmcdermott

Trivial but real — `src/lib/loadAndCache.ts` line 3:

```ts
const CACHE_TTL_MS = 15 * 60 * 1000; // 0 mins — disabled cache
```

The TTL is 15 minutes, not 0. The comment lies. Either drop the comment or restore the intended "disabled" behavior (probably set to `0` if the author meant to disable it; otherwise just remove the misleading comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions