#tomhamiltonstubber
1 messages · Page 1 of 1 (latest)
Looking in to this. The builtin retry in your client library should do exponential backoff with jitter which is the recommended way to retry. https://stripe.com/docs/rate-limits#object-lock-timeouts
While I am looking in to this, can you tell me a bit about the context of these concurrent requests for the same objects?
Aaaah is the default number of retries 0?
THey are requests to update the customer's cahed card details in our DB, we run it in a few different situations and somethings they happen at the same time
Aaaah is the default number of retries 0
https://github.com/stripe/stripe-python/blob/master/stripe/__init__.py#L28C1-L28C20 Looks like it is, we'll set the max retries to something sensible.
Ah interesting, my apologies I did not realize that retries were off by default. For some reason I misremembered us having the default be 2 or something