03 Aug 2023 10:08 AM - last edited on 03 Aug 2023 10:37 AM by Ana_Kuzmenchuk
Hi Team,
We're running one workflow having a user task of JavaScript code. This task is getting failing with the below error:
"Timeout limit (60s) exceeded"
Can somebody please help me to increase the timeout value? Our task is doing ingest API execution for our test metrics. It takes time due to the good amount of samples.
Please help
Regards,
Heramb
Solved! Go to Solution.
03 Aug 2023 03:43 PM
In the options portion of the task, you can adapt the timeout there.
04 Aug 2023 05:13 AM
Hey ,
I have tried this by setting value 900seconds, still getting the same error "Timeout limit (60s) exceeded"
Task in workflow shows Error : Runteime is 1 m 2 sec
Regards,
Heramb Sawant
04 Aug 2023 05:46 AM
Hey Heramb,
Theres a note under that option that describes what that actually does. Unfortunately theres a cap on how long a single function call can run for, however a task may run for longer due to loops and retries. This means that the 60s cannot be increased and whatever you are currently attempting to do may need to be split into multiple tasks. Could they be stacked next to each other so that they still run in parallel?
07 Aug 2023 07:24 AM
Thanks Fin for response . I was thinking about the same, splitting task in in parts(mutiple task in workflow).
I will implement this. Thanks for your valuable inputs.
Regards,
Heramb