1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

HETZNER: better rate limit handling (#936)

* HETZNER: better rate limit handling

- Hetzner is using a Proxy service 'kong' which broadcasts it limits
- honor 'Retry-After' of 429 responses
- delay requests per-se: see the amended docs for details

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: apply review feedback: store quotaName as lower case

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Jakob Ackermann
2020-11-16 17:26:52 +00:00
committed by GitHub
parent 18c026d7d9
commit 550fa436ed
4 changed files with 151 additions and 27 deletions

View File

@@ -72,7 +72,8 @@
"HETZNER": {
"api_key": "$HETZNER_API_KEY",
"domain": "$HETZNER_DOMAIN",
"rate_limited": "true"
"start_with_default_rate_limit": "true",
"optimize_for_rate_limit_quota": "Hour"
},
"HEXONET": {
"apientity": "$HEXONET_ENTITY",