InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
72 stars 13 forks source link

innreport: subtract duplicated articles from rejected volume #258

Closed lampeh closed 1 year ago

lampeh commented 1 year ago

The innd checkpoint line includes the size of duplicated articles in the rejected volume. innreport adds up both numbers in totals, average article size and graphs. This is probably only noticeable when running with "wipcheck 0". resolves #257

Julien-Elie commented 1 year ago

Yes, I agree that the size of duplicated article size is included in the rejected volume. As $rjctsize might not be set, I think it should be $innd_rejected_size{$server} += ($rjctsize || 0) - $dupsize; instead of: $innd_rejected_size{$server} += ($rjctsize - $dupsize || 0);