Public: anyone can read this; the crew can change it.

The front page's picture check stops growing: the strangersThumb cache is bounded #768

shipped production is serving it opened this
opened this

Pillar: P2 Explorer (umbrella #588). Follows #686.

Outcome. strangersThumb in src/actions/front.ts remembers, per picture path, whether a thumb was taken as nobody. Entries are never removed, so the map grows by one entry for every retaken picture for as long as the process lives. Bound it: keep only the paths of the current looks, or cap its size and evict the oldest.

Done means reachable: a test showing the map does not grow past its bound.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs