Commit Graph

20 Commits

Author SHA1 Message Date
Claudio Ortolina 7575e5978a Extract config for MusicBrainz 2024-12-04 10:33:41 +00:00
Claudio Ortolina 14518870a0 Make LastFm user agent configurable 2024-12-04 10:07:25 +00:00
Claudio Ortolina 61cda5a62c Explicitly set auto-refresh config for LastFm refresh 2024-12-03 19:58:17 +00:00
Claudio Ortolina f58a5e83b7 Revert "Reduce pool size in test"
This reverts commit 7a26b6bda6.
2024-12-03 19:42:52 +00:00
Claudio Ortolina 7a26b6bda6 Reduce pool size in test
Due to SQLite having one single write transaction, database tests cannot
be executed async, making a large pool ineffective at best. A setting of
10 is enough for those tests where we perform multiple read operations
(which tend to be sequential anyway).

Test execution time before and after this change remains effectively the
same.
2024-11-30 22:41:56 +00:00
Claudio Ortolina 3facdcb5bd Compile dev routes in test
As the route is rendered in the stats page, it needs to be enabled in
all Mix environments in order to avoid compile time warnings.
2024-11-29 15:26:59 +00:00
Claudio Ortolina ffcbeb49b4 Attempt at shrinking memory usage 2024-11-28 17:22:56 +00:00
Claudio Ortolina 62b5e23fcd (EXP) Lower sqlite cache size in production 2024-11-25 10:54:39 +00:00
Claudio Ortolina f157fbadee Enable live dashboard in production
Includes extras to monitor ecto repos.
2024-11-23 19:26:54 +00:00
Claudio Ortolina 18ae8b7866 Refactor last_fm configuration
Move all configuration outside of the LastFm module, so that it's not
polluted with references to the parent music_library application.
2024-11-06 12:09:38 +00:00
Claudio Ortolina d818cdbae5 Don't run LastFm.Feed in tests 2024-11-04 09:45:05 +00:00
Claudio Ortolina 1abcc5e6ad Add LastFm feed for a given user 2024-11-04 09:17:01 +00:00
Claudio Ortolina 214d12f6cb Use password from environment 2024-10-21 08:54:46 +01:00
Claudio Ortolina 5e7280176f Remove Sentry
Not used, and it has a quite a few outdated dependencies.
2024-10-14 18:58:10 +01:00
Claudio Ortolina e4c0ce58f6 Increase test pool size to avoid resource contention 2024-10-08 20:37:28 +01:00
Claudio Ortolina 94ca2ab625 Move databases into /data 2024-10-07 08:12:05 +01:00
Claudio Ortolina ecce630ae4 Setup Sentry 2024-10-03 10:11:04 +01:00
Claudio Ortolina a3310eeb6a Allow access from external devices 2024-09-27 10:58:59 +01:00
Claudio Ortolina ee6378be27 Increase db pool size in dev
Improves fetching of multiple images from the db at the same time.
2024-09-16 14:45:11 +01:00
Claudio Ortolina d547ee6f8d Generate project
Using `mix phx.new music_library --database sqlite3 --binary-id --no-mailer`
2024-09-12 14:05:08 +01:00