spotify_to_tidal icon indicating copy to clipboard operation
spotify_to_tidal copied to clipboard

Add cache of match failures

Open timrae opened this issue 9 months ago • 0 comments

This change introduces an sqlite database that contains the track_id, db insertion time, and ttl in the cache. The ttl starts with one week, and increases exponentially by a factor of 2 each time the same track_id is added to the database.

This significantly reduces the execution of the time script when there are a lot of match failures accumulating, which do not need to check every time.

timrae avatar May 22 '24 12:05 timrae