NikkelM / Random-YouTube-Video

A browser extension that allows you to truly randomly shuffle videos from any YouTube channel, offering many customization options.
https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf
GNU Lesser General Public License v3.0
17 stars 3 forks source link

[DB] Reduce accuracy of lastFetchedFromDB key #223

Closed NikkelM closed 9 months ago

NikkelM commented 9 months ago

The key currently uses a very accurate timestamp, but we do not need that much accuracy, and could reduce the size of it. Current: "2023-07-11T21:08:31.585Z"

NikkelM commented 9 months ago

The benefits we would get from this do not justify the added inaccuracy and effort needed to keep things in sync correctly, as video data is a much larger part of the saved data's size.