linode-cloud-controller-manager
linode-cloud-controller-manager copied to clipboard
limit number of goroutines we create
General:
- [x] Have you removed all sensitive information, including but not limited to access keys and passwords?
- [x] Have you checked to ensure there aren't other open or closed Pull Requests for the same bug/feature/question?
We would like to limit the number of goroutines we create so that we are not hitting linode API too many times in a very short period of time. This was a feedback in https://github.com/linode/linode-cloud-controller-manager/pull/184#discussion_r1522978948.
It can be achieved by setting g.SetLimit(<some number>)
. We would like to identify what a good number is to start with and then update linode-ccm to use it.