fix: prevent background Laya rebuilds during playback
Ensure automatic live projection rebuilds use the algorithmic path so Laya identity batches are not launched during live list playback or background sync. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -43,7 +43,7 @@ router.get('/channels', requireAuth, async (req, res) => {
|
||||
try {
|
||||
let state = liveProjection.projectionState();
|
||||
if (state.status !== 'success' && state.status !== 'building') {
|
||||
state = await liveProjection.startRebuild().promise;
|
||||
state = await liveProjection.startRebuild(null, { mode: 'algo' }).promise;
|
||||
}
|
||||
const epgSources = await sources.getByType('epg');
|
||||
const { channels, availableLanguages } = liveProjection.getChannelPage({
|
||||
|
||||
Reference in New Issue
Block a user