mtalcott / google-photos-deduper

Locally run web app and Chrome extension to remove duplicates from Google Photos
MIT License
208 stars 18 forks source link

Is recovering after exhausting maximum daily API quota possible? #55

Open dzivkovi opened 5 months ago

dzivkovi commented 5 months ago

First off, thanks for the cool program, Mack! It kicked off great, but after a couple of hours, I got this error: "26 of 1135 subtasks failed. View log/celery_worker.log for more details. Restart to try again." because I exceeded my daily Google Photos API quota. I have hundreds of thousands of photos, but Google lets me go only up to 75,000 API calls per day. How do you suggest we adjust the throttling logic to handle daily limits? Allowing the program to save state and resume processing another day is OK, too. How would you go about refactoring the code to be able to go through huge Google Photo accounts?

janexner commented 1 month ago

Hiya! Same issue here, with ~150k photos. A throttle would be really cool!

mtalcott commented 1 month ago

The app should detect when workers encounter quota exceeded errors and present a message that says to resume the next day - see screenshot of message in https://github.com/mtalcott/google-photos-deduper/pull/16. @dzivkovi @janexner Sounds like that's not happening for you? I'll look into it.