PrepZone Logo
PrepZone
Back to AI Coding

AI Coding · Hard

The assistant wrapped a charge call with retries. What could go wrong?

AI CodingCode ReviewStaff
java
@Retryable(maxAttempts = 3, backoff = @Backoff(delay = 200))
public ChargeResult charge(String customerId, long amountCents) {
    return paymentGateway.charge(customerId, amountCents);
}