Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync process loop time with TTL if set to auto #178

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cotton105
Copy link

If launched with python cloudflare-ddns.py --repeat and the TTL is set to 1 (auto), then the process will loop every 1 second instead of 300 seconds, which is what auto actually means in Cloudflare.

This change adds a variable separate from ttl, which is used for the looping behaviour of the program. I have also reduced some repetition of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant