mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 05:53:10 +08:00
Reduce notification span during beatmap imports (#5471)
Reduce notification span during beatmap imports
This commit is contained in:
commit
f6f4a08019
@ -386,7 +386,7 @@ namespace osu.Game.Beatmaps
|
|||||||
beatmap.OnlineBeatmapID = res.OnlineBeatmapID;
|
beatmap.OnlineBeatmapID = res.OnlineBeatmapID;
|
||||||
};
|
};
|
||||||
|
|
||||||
req.Failure += e => { LogForModel(set, $"Online retrieval failed for {beatmap}", e); };
|
req.Failure += e => { LogForModel(set, $"Online retrieval failed for {beatmap} ({e.Message})"); };
|
||||||
|
|
||||||
// intentionally blocking to limit web request concurrency
|
// intentionally blocking to limit web request concurrency
|
||||||
req.Perform(api);
|
req.Perform(api);
|
||||||
|
@ -589,7 +589,7 @@ namespace osu.Game
|
|||||||
{
|
{
|
||||||
int recentLogCount = 0;
|
int recentLogCount = 0;
|
||||||
|
|
||||||
const double debounce = 5000;
|
const double debounce = 60000;
|
||||||
|
|
||||||
Logger.NewEntry += entry =>
|
Logger.NewEntry += entry =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user