-
Notifications
You must be signed in to change notification settings - Fork 77
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
CLOUDP-277700: Reduced reconcile period for externally linked resources #1854
Conversation
if atlasDatabaseUser.Spec.ExternalProjectRef != nil { | ||
return workflow.Requeue(workflow.StandaloneResourceRequeuePeriod).ReconcileResult() | ||
} | ||
|
||
return workflow.OK().ReconcileResult() |
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.
This is the only place we exit OK right?
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.
Yes
DefaultRetry = time.Second * 10 | ||
DefaultTimeout = time.Minute * 20 | ||
DefaultRetry = time.Second * 10 | ||
StandaloneResourceRequeuePeriod = time.Minute * 15 |
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.
We said we would make this configurable down to 5 mins minimum. We can do it on a follow up.
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.
TD doc says it's 15 minutes. That's why I set it as the value
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.
Thanks for the heads up, I have fixed the TD to reiterate what was said in the scope, this should be configurable before release and 5 minutes is the minimum value allowed.
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.
LGTM
(I expect the CI would eventually pass)
All Submissions:
closes #XXXX
in your comment to auto-close the issue that your PR fixes (if there is one).