Add more verbose logging to realm blocking process

This commit is contained in:
Dean Herbert
2022-07-02 12:35:29 +09:00
parent 3b1842a2c2
commit 4fd47b5fa0
7 changed files with 23 additions and 18 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Overlays.Settings.Sections.DebugSettings
Action = () =>
{
// Blocking operations implicitly causes a Compact().
using (realm.BlockAllOperations())
using (realm.BlockAllOperations("compact"))
{
}
}
@ -58,7 +58,7 @@ namespace osu.Game.Overlays.Settings.Sections.DebugSettings
{
try
{
var token = realm.BlockAllOperations();
var token = realm.BlockAllOperations("maintenance");
blockAction.Enabled.Value = false;