]> git.ipfire.org Git - people/ms/ddns.git/commit
Soft-fail on network errors network-errors
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Jun 2015 22:05:59 +0000 (22:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 22 Jun 2015 22:05:59 +0000 (22:05 +0000)
commit6f49d3c7d876514804495ed29ba2cf198be06d87
tree2d6762b81c808f1a20ff6e7764eaa5cc2b1b2a71
parent45711d99631b4b64642f0dc9610a6a741fbc648c
Soft-fail on network errors

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