From: Mark Zealey Date: Sat, 14 Dec 2013 21:38:09 +0000 (+0200) Subject: Remove AnswerData.created time field as it doesn't seem to be referenced anywhere... X-Git-Tag: rec-3.6.0-rc1~286^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1169%2Fhead;p=thirdparty%2Fpdns.git Remove AnswerData.created time field as it doesn't seem to be referenced anywhere and the time() call seems to take about 1-2% of process time under high load. --- diff --git a/pdns/distributor.hh b/pdns/distributor.hh index 09187e6a65..6dd397720a 100644 --- a/pdns/distributor.hh +++ b/pdns/distributor.hh @@ -61,7 +61,6 @@ public: struct AnswerData { Answer *A; - time_t created; }; int question(Question *, void (*)(const AnswerData &)=0); //!< Submit a question to the Distributor Answer *answer(void); //!< Wait for any answer from the Distributor @@ -206,7 +205,6 @@ templatevoid *Distributorint Distributor