#nick-webhook-timeout

1 messages · Page 1 of 1 (latest)

wraith bloomBOT
trail whale
#

nick-webhook-timeout

#

@fresh yew you should respond in less than a second, faster really if you can. We can wait longer but it causes backlog/load and then failures.

fresh yew
#

Thanks, that makes sense and we will be pushing most of the logic to happen async after responding. I'm just trying to understand for example it says "If Stripe doesn’t quickly receive a 2xx response status code for an event, we mark the event as failed," how long does that take?

trail whale
#

we don't give a specific time, because it could change at any moment

#

You really should aim to be well below 1s. We wait 20s right now but it can go lower.

#

and really anyone spending more than 1s in their webhook handler is doing something wrong