From a2cec1fdb9e9eab9714467a267b77b85d1a18df9 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 26 May 2025 23:21:25 +0100 Subject: [PATCH] Improve clarity fo comment --- lib/last_fm/feed.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/last_fm/feed.ex b/lib/last_fm/feed.ex index 5d0361ae..ef29a454 100644 --- a/lib/last_fm/feed.ex +++ b/lib/last_fm/feed.ex @@ -3,8 +3,9 @@ defmodule LastFm.Feed do Holds a in-memory cache of scrobbled tracks. Tracks are keyed and ASC ordered by their scrobbling unix timestamp. While this - is technically prone to collision, it's very unlikely for that to happen due to the - nature of the data. + is technically prone to collision, it's very unlikely for that to happen since + scrobbles are sequential events that occur over time - a user can likely only listen + to one track at a time, and the timestamp has second-level precision. """ @spec create_table!() :: :ok | no_return