Remove debug code
This commit is contained in:
parent
b70d60414a
commit
4742270522
|
@ -31,7 +31,6 @@ const maxFetchCacheSize = 100;
|
||||||
const fetchCache = new Map();
|
const fetchCache = new Map();
|
||||||
|
|
||||||
function maybePruneFetchCache() {
|
function maybePruneFetchCache() {
|
||||||
console.log(fetchCache.size);
|
|
||||||
while ( fetchCache.size > maxFetchCacheSize ) {
|
while ( fetchCache.size > maxFetchCacheSize ) {
|
||||||
fetchCache.delete( fetchCache.keys().next().value );
|
fetchCache.delete( fetchCache.keys().next().value );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue