Open neg-0 opened 1 day ago
Maybe the for loop has multiple members being added? Maybe the app is "re-registering" itself with the Azure service when nodemon restarts it, creating multiple instances Maybe when I refresh the Vite frontend it still has a cached connection but creates a new one anyways, resulting in multiple function calls
Haven't found root cause. Sometimes the service will run the onMembersAdded function twice, resulting in 2 threads created. I think this consumed extra tokens as well.
Code:
Sample console output: