[2/2] Soft-fail on network errors

Message ID 1435098873-14208-2-git-send-email-michael.tremer@ipfire.org
State Accepted
Commit 29a69850e9e172b5a868e3f2dc0ac63ba08871a8
Delegated to: Stefan Schantl
Headers

Message

Michael Tremer June 24, 2015, 8:34 a.m. UTC
  When an update could not be performed because of a network
error (host unreachable/no route to host) we should not
log an error to the database and hold off updates for a
long time.

Those errors are usually caused by local configuration
errors and the servers of the providers should not be
bothered with update requests as those won't reach them
any way.

The client will try to resend the update at the next
update call.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/ddns/providers.py | 6 ++++++
 1 file changed, 6 insertions(+)