mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-10 06:13:20 -05:00
no zero waiting times.
git-svn-id: file:///svn/unbound/trunk@3464 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
814ddc5d48
commit
7166c1ad36
1 changed files with 2 additions and 0 deletions
|
|
@ -1966,6 +1966,8 @@ calc_next_probe(struct module_env* env, time_t wait)
|
|||
if(!autr_permit_small_holddown) {
|
||||
if(wait < 3600)
|
||||
wait = 3600;
|
||||
} else {
|
||||
if(wait == 0) wait = 1;
|
||||
}
|
||||
rnd = wait/10;
|
||||
rest = wait-rnd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue