fix: reconcile sessions before auto-start
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user