Hi.
is there any way to change max success/fail usage of resource in OnApplicationStart function?
And can i set a resource element's status to fail (not thread) and continue with next element notreused?
thank you.
Yes, you can us "Create Resource" action, which has
success/fail usage parameters that can be set. You can
also do other useful actions with yhat "Resources"module
Maybe you can delete element in case of fail, or move it
to other file or list. There is also parameter "notreuse" that
you can set.
Each asynchronous function started, starts in separate thread.
So in that example you will have 2 threads since 2 asynchronous functions
will be started, each with its own (different) script.
Edit : After digging further i found the problem . I had selected "ON" in the Sandbox option in my 2captcha account. This was giving me the error
Now it works