1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 17:43:45 +08:00
Files
osu-lazer/osu.Game/Database
T
Bartłomiej Dach 12fa96de25 Ensure that star rating reprocessing does not incur online lookup requests
Yesterday after the lazer release there was a bit of a spike in the
number of osu-web requests pointed at `/api/v2/beatmaps/lookup`
specifically. The most likely reason for this is that prior to this
commit, the star rating recalculation was fully performed by the
`BeatmapUpdater.Process()` flow.

This process does full metadata lookups, and while it *will* attempt
to use the local `online.db` metadata cache, it *will* also fall back to
API requests if the local metadata fetch fails. While that means that
the local cache likely saved us from a doomsday scenario here, it *also*
is the case that all of that metadata lookup stuff is *entirely
unnecessary* when wanting to just update star ratings.

Therefore, this splits out only the part relevant to star ratings
as a separate background process, so that it can run completely
locally.
12fa96de25 · 2025-03-07 10:48:29 +01:00
History
..
2023-06-24 01:00:03 +09:00
2023-06-24 01:00:03 +09:00
2023-06-24 01:00:03 +09:00
2022-06-17 16:37:17 +09:00
2023-06-24 01:00:03 +09:00
2023-06-24 01:00:03 +09:00
2024-07-10 19:22:49 +09:00
2023-06-24 01:00:03 +09:00
2022-06-17 16:37:17 +09:00
2023-06-24 01:00:03 +09:00
2023-06-24 01:00:03 +09:00
2024-04-30 21:47:03 +08:00
2024-07-03 00:19:04 +09:00