]> git.ipfire.org Git - people/stevee/ddns.git/commit
Introduce error type "rate-limited" status-defeated
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 24 Feb 2017 10:53:50 +0000 (11:53 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 24 Feb 2017 12:38:13 +0000 (13:38 +0100)
commitf2d52251e5f75b8762375cf081ff1c07d96ec6be
treea33afaa3bb9efaac94dffbfce3e79e77ea4e26df
parentf1c73c2cb37c2c75629a4466de3609d9e9864bbf
Introduce error type "rate-limited"

This error type is used for handling HTTP 429 - Too many requests.

When using this error type, a holdoff_time of 30 minutes will be
used by default until the next update attempt will be send. The holdoff_time
can be specified in the provides class if needed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/ddns/database.py
src/ddns/errors.py
src/ddns/providers.py