Skip to main content
Practitioner ⭐️
April 12, 2024
Solved

Set time to trigger Retry in Cognite Workflow

After how much time retry of function get triggered on failing?

Is there a way we can set the time to retrigger the function after function fails. It will be helpful to deal with rate limit in functions if any.

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
May 23, 2024

Hi @Rimmi Anand 

I'm going to close this topic for now. If you have any questions, please don't hesitate to create a post on Hub.

4 replies

Bert Verstraete
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
April 24, 2024

Hi @Rimmi Anand 


On the 3rd of April, we’ve added delays in between retries of tasks. The delay between retries is calculated as follows: 20 * retryCount (seconds). The first retry will have a delay of 20 seconds, second will have 40 seconds, etc.

Is this already sufficient for your use case, or are you still struggling with rate limits?

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
May 6, 2024

Hi @Rimmi Anand,

Did the above help you? 

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
May 23, 2024

Hi @Rimmi Anand 

I'm going to close this topic for now. If you have any questions, please don't hesitate to create a post on Hub.

Practitioner ⭐️
May 24, 2024

Its good for now. If  any use case with different rate limit arises, will create a new post. Thank you.