mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-11 18:28:49 +01:00
remove planet cache logging
This commit is contained in:
@@ -62,11 +62,9 @@ export const getPlanet = async (
|
||||
const cached = planetCache.get(cacheKey);
|
||||
|
||||
if (cached && Date.now() - cached.timestamp < CACHE_DURATION_MS) {
|
||||
console.log(`[Cache HIT] Planet ${planet.planet_id} for character ${character.character.characterId}`);
|
||||
return cached.data;
|
||||
}
|
||||
|
||||
console.log(`[Cache MISS] Fetching planet ${planet.planet_id} for character ${character.character.characterId}`);
|
||||
const api = new Api();
|
||||
const planetInfo = (
|
||||
await api.v3.getCharactersCharacterIdPlanetsPlanetId(
|
||||
|
||||
Reference in New Issue
Block a user