fix: reconcile sessions before auto-start

This commit is contained in:
2026-04-25 22:36:10 +08:00
parent aa548db980
commit ff3e1fae70
2 changed files with 14 additions and 0 deletions
@@ -216,6 +216,12 @@ public sealed class LiveRoomPollingBackgroundService : BackgroundService
if (hasRunningSession)
{
await logService.WriteAsync(
SystemLogLevel.Info,
"Scheduler",
"Auto-start skipped because an active recording session already exists.",
liveRoomId: liveRoom.Id,
cancellationToken: cancellationToken);
return;
}