Skip to content

Adds Rate Limiter to resource_victorops_routing_key.go - #20

Open
ehharris wants to merge 2 commits into
splunk:masterfrom
ehharris:master
Open

Adds Rate Limiter to resource_victorops_routing_key.go#20
ehharris wants to merge 2 commits into
splunk:masterfrom
ehharris:master

Conversation

@ehharris

Copy link
Copy Markdown

This adds a rate limiter to resource_victorops_routing_key.go to adhere to 2 requests per second as per the API docs.

Builds off of #19 and partially fixes #18

@kevalds51 kevalds51 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vertex

vertex commented Jun 27, 2024

Copy link
Copy Markdown

LGTM but I fear this provider is no longer supported if this has been here for half a year.

@vertex

vertex commented Jun 27, 2024

Copy link
Copy Markdown

@kevalds51 is there any reason this can't get merged and built?

@kevalds51

Copy link
Copy Markdown
Member

@ehharris Do we plan to merge this or did you encounter something during testing earlier?

@ehharris

Copy link
Copy Markdown
Author

@kevalds51 @vertex Sorry folks! I lost access to this repo for a bit and didn't see these messages.

I didn't run into any issues testing, this can be merged if it looks good to everyone else. The customer that I had made this for ended up just compiling it off this MR and I haven't heard that they've had any issues with it in the past year or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reading & Writing too quickly - {"message":"Too Many Requests"}

3 participants