Cache objects in memory rather than requesting from the database (#154)

* Removed import block from LibraryScan (#150)

* Cache objects from database in memory to improve performance (#151)

* IGDB objects are now cached in memory

* Completed caching of PlatformMaps

* Check for null during cache clean (#153)
This commit is contained in:
Michael Green
2023-10-10 22:06:59 -07:00
committed by GitHub
parent f9d6cc4bdc
commit 1ade1922df
3 changed files with 116 additions and 19 deletions

View File

@@ -198,9 +198,8 @@ ProcessQueue.QueueItems.Add(new ProcessQueue.QueueItem(
})
);
ProcessQueue.QueueItems.Add(new ProcessQueue.QueueItem(
ProcessQueue.QueueItemType.LibraryScan, 30, new List<ProcessQueue.QueueItemType>
ProcessQueue.QueueItemType.LibraryScan, 1440, new List<ProcessQueue.QueueItemType>
{
ProcessQueue.QueueItemType.TitleIngestor,
ProcessQueue.QueueItemType.OrganiseLibrary
})
);