Store real over-time counts of forwarded queries. So far, we counted only the first server a query was sent to.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2021-06-25 13:10:39 +02:00
parent 378dd0fe81
commit 4f8cbe29f7
5 changed files with 128 additions and 66 deletions
+1
View File
@@ -575,6 +575,7 @@ void DB_read_queries(void)
upstreamsData *upstream = getUpstream(upstreamID, true);
if(upstream != NULL)
{
upstream->overTime[timeidx]++;
upstream->count++;
upstream->lastQuery = queryTimeStamp;
}