navidrome/scanner
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
..
metadata Add sampleRate to the DB 2024-05-11 17:57:45 -04:00
cached_genre_repository.go Fix memory leak in CachedGenreRepository (#3031) 2024-05-16 12:16:56 -04:00
mapping.go Add sampleRate to the DB 2024-05-11 17:57:45 -04:00
mapping_internal_test.go Make sorting lists by name/title case-insensitive (#2993) 2024-05-09 07:08:15 -04:00
playlist_importer.go Ignore playlists starting with a dot - #2367 (#2390) 2023-06-16 15:55:17 -04:00
playlist_importer_test.go Allow comments in the NSP file. 2024-04-20 12:50:45 -04:00
refresher.go Associate main entities with library 2024-05-12 21:37:42 -04:00
scanner.go Associate main entities with library 2024-05-12 21:37:42 -04:00
scanner_suite_test.go Clean up runNavidrome function 2024-05-09 07:44:08 -04:00
tag_scanner.go Fix race condition 2024-05-13 09:28:19 -04:00
tag_scanner_test.go Add TAK support (#2745) 2023-12-26 18:39:15 -05:00
walk_dir_tree.go Associate main entities with library 2024-05-12 21:37:42 -04:00
walk_dir_tree_test.go Add TAK support (#2745) 2023-12-26 18:39:15 -05:00
walk_dir_tree_windows_test.go Ignore Recycle Bins in Windows. Fix #1074 2023-03-09 22:14:58 -05:00