@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
Hello, What Logic Should I Use If I Want To Do The Specific Task Only x% Of The Time?
For Example:-
95% Of The Time It Should Open youtube.com
But 5% Of The Time It Should Open google.com
I Am Confused How To Detect That Which Thread Will Be The 5%.
@elleevans Math.floor(Math.random() * 100) > 95