-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: DNS propagation wait worker #305
Conversation
*/ | ||
await addDnsRequest({ | ||
username, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dadolhay I'm going to break down this function into 1. Add a record to DB with pending status 2. Route53 update and update DB status once Route53 work is complete. Let me know if you see any concern with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Genne23v
It's still going to be a flow, right? so I create a job to handle this, and the job flow adds the db entry, handles the route53 api, then updates the status to complete
Am I understanding you correctly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial DB record creation won't be a part of flow as it completes the work immediately. Then the rest of jobs will be run as flow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A few small things and questions.
Closes #169