@andreiem
1e0b3fa6-6cf4-4a07-a1ba-8b2bd053e35e-image.png
b605d594-0d28-4196-bfff-ef2c060ab37d-image.png
@blird said in Timeout if Thread takes longer then XX minutes:
Hey I have a script that sometimes takes wayyy to long. Is there any way I can set a max duration in s/ms for a thread to be alive and then killed?
Create a function for some work, in the main function run that function asynchronously, wait for some time, and if the thread is still alive, kill it and exit the thread.
@blird said in Timeout if Thread takes longer then XX minutes:
Appreciate it. Any way I can get in contact with you?
I do not provide any free private consultations to anyone.
If you would like to make a paid offer, feel free to send me a private message on this forum.