Adjust expected struct sizes now that we have fewer overtime slots by defauls

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2022-05-19 08:54:30 +02:00
parent 9532c02c23
commit 316e523d51
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
2 changed files with 2 additions and 3 deletions

View File

@ -3348,8 +3348,8 @@ int check_struct_sizes(void)
int result = 0;
result += check_one_struct("ConfigStruct", sizeof(ConfigStruct), 112, 104);
result += check_one_struct("queriesData", sizeof(queriesData), 56, 44);
result += check_one_struct("upstreamsData", sizeof(upstreamsData), 640, 624);
result += check_one_struct("clientsData", sizeof(clientsData), 696, 668);
result += check_one_struct("upstreamsData", sizeof(upstreamsData), 616, 604);
result += check_one_struct("clientsData", sizeof(clientsData), 672, 648);
result += check_one_struct("domainsData", sizeof(domainsData), 24, 20);
result += check_one_struct("DNSCacheData", sizeof(DNSCacheData), 16, 16);
result += check_one_struct("ednsData", sizeof(ednsData), 72, 72);

View File

@ -159,7 +159,6 @@ void *GC_thread(void *val)
// Align the start time of this GC run to the GCinterval. This will also align with the
// oldest overTime interval after GC is done.
mintime -= mintime % GCinterval;
mintime += GCinterval;
if(config.debug & DEBUG_GC)
{