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

Change setting method of periodic execution to cronjob style #49

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

Conversation

futabooo
Copy link
Contributor

title is everything

@josh-burton
Copy link
Collaborator

Thanks for the contribution! I think if we were to accept this change the usage of interval would have to remain but in a deprecated state. Otherwise this is a breaking change. Would you be able to make that change?

@futabooo
Copy link
Contributor Author

Thank you for your comment!
As you said, it has been a breaking change, so let's add an implementation that leaves the interval option.

@futabooo
Copy link
Contributor Author

@josh-burton I tried to leave the option of interval.

try {
config.regions = JSON.parse(fs.readFileSync(__dirname + '/regions.json'));
config.regions = JSON.parse(fs.readFileSync(__dirname + '/regions.json'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe leaving the styling thing along will be better when implementing some functions? Otherwise the diff will including so many changes not related to the topic, make the review and code tracing a little bit harder.

It will be very great if the styling will be fixed with CI testing in another PR 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so too. This PR undo unnecessary diffs 🙇

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.

3 participants