Azure-Samples / azure-sdk-for-go-samples

Examples of how to utilize Azure services from Go.
MIT License
294 stars 184 forks source link

How can I use the rate Limiter for azure client #369

Open prai14 opened 1 year ago

prai14 commented 1 year ago

I am not able to set the rate limiter for azure client,

package - "golang.org/x/time/rate" / Create a new limiter that allows 10 requests per second. limiter := rate.NewLimiter(10, 1)

Pl help me the sample code to set the rate limiter for azure client.