-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat:account delete payment delay 5 minutes #1863
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
Conversation
Codecov ReportBase: 66.45% // Head: 66.45% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1863 +/- ##
=======================================
Coverage 66.45% 66.45%
=======================================
Files 6 6
Lines 480 480
=======================================
Hits 319 319
Misses 141 141
Partials 20 20 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@@ -185,6 +191,24 @@ func (r *AccountReconciler) syncRoleAndRoleBinding(ctx context.Context, name, na | |||
return nil | |||
} | |||
|
|||
// DeleteUselessPayment delete payments that exist for more than 5 minutes | |||
func (r *AccountReconciler) DeleteUselessPayment(ctx context.Context) error { |
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.
DeleteUselessPayment->DeletePayment
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.
👌
Signed-off-by: 晓杰 <[email protected]>
test finished in my mac,success del payment more than 5 minutes @fanux |
Signed-off-by: 晓杰 [email protected]
Fix #1816
account delete payment more than 5 minutes