@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.
I have another big issue with proxy management. I'm using 4 mobile proxies, let's call them proxy1, proxy2, proxy3, and proxy4. Here's the situation: proxy3 is assigned to thread1, and proxy1 is assigned to thread2. I've noticed that when thread1 finishes, instead of reusing proxy3, it also takes proxy1, even though it's already in use. How can I prevent this?