@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
Threads communication
-
Hi everyone. I need to do communication between threads in one application. How i got that it is really tricky to implement and i don't like those solutions. Global variables can handle only strings and integers, because functions or arrays binded to global variables works only in current thread and disappear in others. For example i have an object['key81'] that i need to increment from all threads, and there can be many of those keys. How to do this? Thanks.
-
@cronjupiter said in Threads communication:
Hi everyone. I need to do communication between threads in one application. How i got that it is really tricky to implement and i don't like those solutions. Global variables can handle only strings and integers, because functions or arrays binded to global variables works only in current thread and disappear in others. For example i have an object['key81'] that i need to increment from all threads, and there can be many of those keys. How to do this? Thanks.
An object in a global variable is ideal for your task. Look on the forum, I gave an example of the implementation.