https://prefect.io logo
Title
j

James Zhang

12/06/2022, 11:56 AM
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

Kalise Richmond

12/06/2022, 3:55 PM
Hi @James Zhang, is this for Prefect 1 or 2?
j

James Zhang

12/06/2022, 3:55 PM
for 2
k

Kalise Richmond

12/06/2022, 4:06 PM
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

James Zhang

12/06/2022, 4:14 PM
thanks for the link! i think it’s relevant to Prefect 1? don’t know what’s about the jitter issue :melting_face:
@Anna Geller i see you closed this issue, any updates on the Prefect 2 or the “another issue”?
a

Anna Geller

12/06/2022, 8:41 PM
let me ask the team
j

James Zhang

12/06/2022, 8:50 PM
oh thanks, but it’s not a exponential backoff retry, would it be added after this issue?
a

Anna Geller

12/06/2022, 8:52 PM
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