Rob Emery 52235c291d
Fix memory leak in CachedGenreRepository (#3031)
that the scanner was run, the ttlcache was also created each time.
This caused (under testing with 166 genres in the database) the
memory consumed by navidrome to 101.18MB over approx 3 days; 96%
of which is in instances of this cache. Swapping to a singleton
has reduced this to down to ~ 2.6MB

Co-authored-by: Rob Emery <git@mintsoft.net>
2024-05-16 12:16:56 -04:00
..
2024-05-11 17:57:45 -04:00
2024-05-11 17:57:45 -04:00
2023-12-26 18:39:15 -05:00
2024-05-13 09:28:19 -04:00
2023-12-26 18:39:15 -05:00