diff options
author | Christian Hesse <mail@eworm.de> | 2024-02-26 23:18:02 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-02-28 23:01:43 +0100 |
commit | 93bed1b081bb23624b988627d2db6e71d55e796a (patch) | |
tree | ef8e9cfd0d3e0c98c9239fd9cfebe15c125553dc /check-health.rsc | |
parent | c2f5272f18c2161150481b9569ee17bc2c3d2289 (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 'check-health.rsc')
0 files changed, 0 insertions, 0 deletions