Skip to content

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

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Conversation

xiao-jay
Copy link
Contributor

@xiao-jay xiao-jay commented Oct 11, 2022

Signed-off-by: 晓杰 [email protected]
Fix #1816
account delete payment more than 5 minutes

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Base: 66.45% // Head: 66.45% // No change to project coverage 👍

Coverage data is based on head (76e98da) compared to base (021f117).
Patch has no changes to coverable lines.

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@xiao-jay xiao-jay changed the title feat:payment success and account delete payment delay 5 minutes feat:account delete payment delay 5 minutes Oct 11, 2022
@@ -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 {
Copy link
Member

Choose a reason for hiding this comment

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

DeleteUselessPayment->DeletePayment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👌

@xiao-jay
Copy link
Contributor Author

test finished in my mac,success del payment more than 5 minutes @fanux

@fanux fanux merged commit 0d3a91f into labring:main Oct 12, 2022
@xiao-jay xiao-jay deleted the payment-dev branch October 13, 2022 03:57
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.

Feature: payment success and account delete payment
2 participants