Closed calvinh99 closed 2 years ago
When rate limit reached, wait 15 minutes, then continue again.
Before running entire update loop, get the most recent update time -> most_recent_update
If you reach an artist who's last_updated time is after most_recent_update, then do not update because you already updated.
An artist who's last_updated time is before most_recent_update is an artist that has not been updated yet in the current execution.
Done
When rate limit reached, wait 15 minutes, then continue again.
Before running entire update loop, get the most recent update time -> most_recent_update
If you reach an artist who's last_updated time is after most_recent_update, then do not update because you already updated.
An artist who's last_updated time is before most_recent_update is an artist that has not been updated yet in the current execution.