Giter Club home page Giter Club logo

Comments (4)

boredazfcuk avatar boredazfcuk commented on June 6, 2024

I currently sync 3 accounts and hitting the server at the same time doesn't cause any issues. Apple won't block accounts for multiple concurrent logins to different addresses from the same account, or anything like that.

Originally the script used to run via cron, but I had issues with it. I can't quite remember what they were, as it was a good while ago, it was either issues around running as the correct user (cron was launching as root (instead of the user you configure) or it was due to cron launches not logging anything to screen.

I have appeared to stumble across an issue recently around synchronisation however. It seems Apple only lets people log in 26 times before they force 2FA re-authentication... When the interval is set to 60mins, you have to re-authenticate once a day which is a pain. Setting it to every 15mins will mean you have to re-authenticate multiple times a day.

I may put in a synchronisation_delay so that the first synchronisation can be delayed for 10/40/60/120/whatever minutes as a quick fix. I can also look at only accepting certain values for synchronisation_interval so that it can only be run a maximum of once every 6 hours... Any invalid time periods will default once a day or something.

Hopefully I'll get time to look at it tonight.

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on June 6, 2024

I've added synchronisation_delay to the new version so that you can offset the download by up to 60 minutes.

from docker-icloudpd.

BuSHari avatar BuSHari commented on June 6, 2024

Great! thanks...

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on June 6, 2024

Just closing this off. Any problems, or suggestions, just reopen the issue.

from docker-icloudpd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.