Files
romm/backend/handler
Michael Manganiello b61bb11bce feat: Use async requests to retrieve SteamGridDB covers
This change avoids blocking requests when retrieving covers from
SteamGridDB, which is the main bottleneck as the current implementation
iterates over paginated results for multiple games.

Using an asynchronous client like `httpx` provides a good performance
improvement, and reduces the latency when calling this endpoint.
Also, the inclusion of FastAPI `lifespan` allows instantiating a single
client on startup.

When testing with "Final Fantasy V Advance", the endpoint goes from ~9s
to ~1.5s to retrieve all covers.
2024-07-09 22:37:14 -03:00
..
2024-07-04 23:54:18 +02:00
2024-07-06 17:25:08 +02:00
2024-07-01 15:12:07 -04:00
2024-06-23 15:09:55 +00:00
2024-05-18 12:05:57 -04:00