#alexanderg-network-retries

1 messages · Page 1 of 1 (latest)

grizzled elbow
#

the retries will happen if the prev requests fail, not in parallel

mellow stone
#

what if it times out but in the end succeeds

#

or what if it succeeds in Stripe and on the return trip we do not get the response due to network issue

#

So I am talking about a situation where Stripe call 1 succeeded in Stripe but we still initiate a retry due to some failure.

grizzled elbow
#

gotcha, yeah in that case it could lead to multiple charges yes

mellow stone
#

Great, thank you!

#

One more question - can I configure retry strategy and if not what is the default strategy, eg timeout, backoff, etc...

ivory spire
#

There's not a way to configure the retry strategy to something else

mellow stone
#

Yes, I am just wondering what are the default timeouts (e.g., 1ms or 1s and back off multiplyer), we need this to set timeouts on upstream calls.

ivory spire
#

Which library are you using?

#

Which language

mellow stone
#

Java

#

stripe-java-20.49

ivory spire
#

Ok one moment

#

Delay starts at 500 milliseconds and goes to a max of 5 seconds

mellow stone
#

Great, thank you!

ivory spire
#

No problem!