Fix 'Lock wait timeout exceeded exception' during library re-scan

This commit is contained in:
aditya.chandel
2025-07-04 17:19:45 -06:00
committed by Aditya Chandel
parent 841e359b92
commit 8edf589f3d
7 changed files with 35 additions and 67 deletions
+5
View File
@@ -42,6 +42,11 @@ export class AppComponent implements OnInit {
this.bookService.handleBookUpdate(JSON.parse(message.body));
});
this.rxStompService.watch('/topic/book-metadata-batch-update').subscribe((message: Message) => {
const updatedBooks = JSON.parse(message.body);
this.bookService.handleMultipleBookUpdates(updatedBooks);
});
this.rxStompService.watch('/topic/log').subscribe((message: Message) => {
const logNotification = parseLogNotification(message.body);
this.eventService.handleIncomingLog(logNotification);