no zero waiting times.

git-svn-id: file:///svn/unbound/trunk@3464 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2015-07-30 14:01:04 +00:00
parent 814ddc5d48
commit 7166c1ad36

View file

@ -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;