mercurius-js / cache

Adds an in-process caching layer to Mercurius. Federation is fully supported.
MIT License
106 stars 19 forks source link

Cache report #42

Closed sameer-coder closed 2 years ago

sameer-coder commented 2 years ago

This PR introduces a feature for reporting cache hits/misses at specified intervals. A new option logInterval is introduced in the cache options.

Closes #24

mcollina commented 2 years ago

Check the recommendations I just made

sameer-coder commented 2 years ago

Fixed the CI. All good now

simone-sanfratello commented 2 years ago

lgtm

can we also add the skip counter to the report? maybe in another PR?