mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Keep track of the number of cache misses. If we have a series of misses but then we start seeing hits, then we progressively reset the counter. If there are too many misses, we just give up on the global cache. Reviewed By: cpojer Differential Revision: D4326689 fbshipit-source-id: 5606fc860cbb9d7e9e877c0d1dc4e6a6a1cbcd98