Remove everything related to websocket

This commit is contained in:
yannfrendo
2023-11-29 17:03:19 +01:00
parent 72b8b2d281
commit 14bcb9e1e4
12 changed files with 18 additions and 74 deletions

View File

@@ -172,12 +172,6 @@ export class JobService {
});
case JobName.METADATA_EXTRACTION:
if (item.data.source === 'sidecar-write') {
const [asset] = await this.assetRepository.getByIds([item.data.id]);
if (asset) {
this.communicationRepository.send(CommunicationEvent.ASSET_UPDATE, asset.ownerId, mapAsset(asset));
}
}
await this.jobRepository.queue({ name: JobName.LINK_LIVE_PHOTOS, data: item.data });
break;