feat: add import detection toggles

This commit is contained in:
2026-04-30 20:24:23 +08:00
parent 242b419875
commit 0b8f2c9775
7 changed files with 239 additions and 26 deletions
@@ -292,7 +292,7 @@ public sealed class LiveRoomPollingBackgroundService : BackgroundService, ILiveR
var liveStatus = await adapter.GetLiveStatusAsync(liveRoom.RoomId, cancellationToken);
var now = DateTimeOffset.UtcNow;
await liveRoomStatusService.ApplySnapshotAsync(liveRoom, liveStatus, now, cancellationToken);
await liveRoomStatusService.ApplySnapshotAsync(liveRoom, liveStatus, now, cancellationToken: cancellationToken);
await SaveChangesWithRetryAsync(dbContext, cancellationToken);
if (!liveStatus.IsLive)