Commit graph

6 commits

Author SHA1 Message Date
14478a5418 feat(api): poll listens less often if user is inactive
To save on Spotify API requests we have two different classes of
polling intervals:

- all users are polled at least every 10 minutes, this is a safe interval
  and no listens will be ever missed
- if a user listened to a song within the last 60 minutes, we poll every
  minute to ensure that the UI shows new listens immediately
2023-03-12 02:20:39 +01:00
b9f92bbdfa feat(api): use nest-pg-boss for spotify interactions 2023-03-12 02:20:39 +01:00
6b1640b753 feat(observability): Replace Prometheus package with OpenTelemetry 2022-06-18 17:48:16 +02:00
a0ffe108e1 feat(api): update existing artists in MusicLibrary 2021-11-21 15:53:49 +01:00
9b96d0fab4 chore(lint): switch to eslint 2021-05-25 18:12:42 +02:00
66fd6ce1b4 feat(api): custom spotify crawler interval 2020-11-28 18:28:38 +01:00