Skip to content

Commit

Permalink
make very sure we don't keel over if something goes wrong polling sec…
Browse files Browse the repository at this point in the history
…urity status in auth
  • Loading branch information
ahupowerdns authored and mind04 committed May 1, 2015
1 parent c45b6db commit d0af589
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pdns/common_startup.cc
Expand Up @@ -388,7 +388,10 @@ void mainthread()

for(;;) {
sleep(1800);
doSecPoll(false);
try {
doSecPoll(false);
}
catch(...){}
}

L<<Logger::Error<<"Mainthread exiting - should never happen"<<endl;
Expand Down

0 comments on commit d0af589

Please sign in to comment.