aboutsummaryrefslogtreecommitdiffstats
path: root/doc/log-forward.d/notification.avif
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-02-26 23:18:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-02-28 23:01:43 +0100
commit93bed1b081bb23624b988627d2db6e71d55e796a (patch)
treeef8e9cfd0d3e0c98c9239fd9cfebe15c125553dc /doc/log-forward.d/notification.avif
parentc2f5272f18c2161150481b9569ee17bc2c3d2289 (diff)
netwatch-notify: work around race condition
This used to crash every now and then with: > script;error script error: no such item (4) I guess this is caused by querying the dns cache just exactly when a record expires. The chance is maximized: The script is started by scheduler every minute, and the record's ttl is a multiple of a minute. Let's query records that are not about to expire immediately, and try again.
Diffstat (limited to 'doc/log-forward.d/notification.avif')
0 files changed, 0 insertions, 0 deletions