[PR #3615] [MERGED] Use a simpler database fetch in fullUpdateFromOld #4038

Closed
opened 2026-04-25 00:18:04 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3615
Author: @mikiher
Created: 11/16/2024
Status: Merged
Merged: 11/16/2024
Merged by: @advplyr

Base: masterHead: fullupdatefromold-fix


📝 Commits (1)

  • 5ccf5d7 Use a simpler database fetch in fullUpdateFromOld

📊 Changes

1 file changed (+1 additions, -29 deletions)

View changed files

📝 server/models/LibraryItem.js (+1 -29)

📄 Description

This is followup to #3604.

As discussed privately, the database fetch in LibraryItem.fullUpdateFromOld causes a memory spike because of the query complexity. This uses a simpler query to achieve the same result.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3615 **Author:** [@mikiher](https://github.com/mikiher) **Created:** 11/16/2024 **Status:** ✅ Merged **Merged:** 11/16/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `fullupdatefromold-fix` --- ### 📝 Commits (1) - [`5ccf5d7`](https://github.com/advplyr/audiobookshelf/commit/5ccf5d7150bb94319987070ba10652b93cdbcab2) Use a simpler database fetch in fullUpdateFromOld ### 📊 Changes **1 file changed** (+1 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `server/models/LibraryItem.js` (+1 -29) </details> ### 📄 Description This is followup to #3604. As discussed privately, the database fetch in `LibraryItem.fullUpdateFromOld` causes a memory spike because of the query complexity. This uses a simpler query to achieve the same result. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:04 +02:00
adam closed this issue 2026-04-25 00:18:04 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4038