forked from integrations/terraform-provider-github
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rate-limiting configurable (integrations#907)
* Make struct type public * Scaffold functional pattern for providing writeDelay * Add WriteDelay to config and plumb it down * Add configuration for write delay * Validate writeDelay is positive * Add website description of write_delay argument * Use convenience func to pass writeDelay into rate limiter * Move convenience func closer to implementation; add convenience type * Rename write_delay --> write_delay_ms * Update github/provider.go Co-authored-by: Jeremy Udit <jcudit@github.com> * Describe default for write_delay_ms in help text * Update github/transport.go Co-authored-by: Jeremy Udit <jcudit@github.com> * Update website/docs/index.html.markdown Co-authored-by: Jeremy Udit <jcudit@github.com> Co-authored-by: Jeremy Udit <jcudit@github.com>
- Loading branch information
1 parent
422041f
commit 98140ef
Showing
4 changed files
with
63 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters