From: bert hubert Date: Wed, 22 Oct 2014 10:55:42 +0000 (+0200) Subject: recursor security poll is now feature complete. Distributors can set their security... X-Git-Tag: rec-3.7.0-rc1~198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0a074d76e8ccd7d7b1424216b0684c159752b73;p=thirdparty%2Fpdns.git recursor security poll is now feature complete. Distributors can set their security domain suffix in PACKAGEVERSION, ie PACKAGEVERSION=3.6.1-2.debian --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 2e19a7dea0..a6e71a007f 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1223,19 +1223,16 @@ try last_stat=time(0); } - if(now.tv_sec - last_secpoll >= 1800) { + if(now.tv_sec - last_secpoll >= 3600) { doSecPoll(&last_secpoll); } } - - } catch(PDNSException& ae) { - L<content; @@ -41,8 +46,10 @@ void doSecPoll(time_t* last_secpoll) } else { L<