mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
feat: remove verbose logging from anime service
This commit is contained in:
@@ -160,11 +160,6 @@ class AnimeMapper:
|
||||
self.anime_imdb_ids = {
|
||||
row[0] if isinstance(row, tuple) else row["provider_id"] for row in rows
|
||||
}
|
||||
|
||||
logger.log(
|
||||
"DATABASE",
|
||||
f"Loaded {len(self.anime_imdb_ids)} anime IMDb IDs into memory",
|
||||
)
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to load anime provider IDs: {e}")
|
||||
|
||||
@@ -365,13 +360,7 @@ class AnimeMapper:
|
||||
{"timestamp": timestamp},
|
||||
)
|
||||
|
||||
logger.log(
|
||||
"DATABASE",
|
||||
f"Anime mapping updated: {total_entries} entries, {total_fribb} IMDb mappings added",
|
||||
)
|
||||
|
||||
return total_entries, total_fribb
|
||||
|
||||
except Exception as exc:
|
||||
logger.error(f"Failed to persist anime mapping cache: {exc}")
|
||||
return 0, 0
|
||||
|
||||
Reference in New Issue
Block a user