Refactor file mover to ensure faster transfers and more reliable handling (#1406)

This commit is contained in:
Aditya Chandel
2025-10-21 21:10:46 -06:00
committed by GitHub
parent 1edc55e4f0
commit 9186ea0c67
28 changed files with 498 additions and 2596 deletions
+5
View File
@@ -55,6 +55,11 @@ export class AppComponent implements OnInit, OnDestroy {
this.bookService.handleNewlyCreatedBook(JSON.parse(msg.body))
)
);
this.subscriptions.push(
this.rxStompService.watch('/user/queue/book-update').subscribe(msg =>
this.bookService.handleBookUpdate(JSON.parse(msg.body))
)
);
this.subscriptions.push(
this.rxStompService.watch('/user/queue/books-remove').subscribe(msg =>
this.bookService.handleRemovedBookIds(JSON.parse(msg.body))