hey guys, I’m trying to implement an exponential b...
# prefect-community
j
hey guys, I’m trying to implement an exponential backoff retry in a @task where I use native python http Retry class, however in the execution of the task I don’t see the retry being invoked in the Flow? can someone enlighten me on this one?
k
Hi @James Zhang, is this for Prefect 1 or 2?
j
for 2
k
I was able to find this closed issue. However, I'm not sure where the associated ticket for random jitter is. For Prefect 1, I know this was not support.
j
thanks for the link! i think it’s relevant to Prefect 1? don’t know what’s about the jitter issue 🫠
@Anna Geller i see you closed this issue, any updates on the Prefect 2 or the “another issue”?
a
let me ask the team
j
oh thanks, but it’s not a exponential backoff retry, would it be added after this issue?
a
afaik exponential backoff is hard to do in a stateless client-side way, jitter is sth we could do and sth that could already help
feel free to add comments on the issue, thx for flagging this
👍 1