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

FIXME [payment_gateway.go] requestPaymentGatewayPostPayment #8

Open
Ryoga-exe opened this issue Dec 8, 2024 · 1 comment
Open

FIXME [payment_gateway.go] requestPaymentGatewayPostPayment #8

Ryoga-exe opened this issue Dec 8, 2024 · 1 comment

Comments

@Ryoga-exe
Copy link
Member

かなりヤバそう

// FIXME: 社内決済マイクロサービスのインフラに異常が発生していて、同時にたくさんリクエストすると変なことになる可能性あり

@Ryoga-exe
Copy link
Member Author

まだ読み切れていないが、ぱっと見ここヤバそう

if err != nil {
if retry < 5 {
retry++
time.Sleep(100 * time.Millisecond)
continue
} else {
return err
}
}

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

No branches or pull requests

1 participant