@YounesGa To have each thread use only 1 line, set the value "max success usage: 1", "max number of simultaneous use: 1".
This is equivalent to the fact that after the flow finishes running with a result of Success, the already used proxy line will not be used again, whereas if there is an error, it will be reused 999999999 times and only one line. for each stream
290a12f6-98cf-4378-9d4c-72a246339adb-image.png
Timeout if Thread takes longer then XX minutes
-
@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.