On Tue, Jun 25, 2002 at 01:28:20AM -0400, Gianni Johansson wrote: > I want to be able to keep track of a) whether a successful request originated > locally (FCP, fproxy via InternalClient) or externally (FNP) and b) whether The current mechanism uses Core.successDistribution, which only counts externally originated requests. > it was a DataRequest or an InsertRequest for stats purposes. (i.e. whether a > StoreData message is being sent as the result of a DataRequest or an > InsertRequest. Currently we count both. Splitting them would be reasonably easy. > > One logical place to store this information would appear to be the > RequestState base class. This has to be better than Core.java :) > > Anyone see why this wouldn't work? > > Anyone see a better way to store this per request information? > > -- gj > PS, it appears that I have missed several places where I ought to count successful requests. Patch applied to CVS. It makes a significant difference to the stats. > > > > > > -- > Freesite > (0.4) freenet:SSK@npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage// > > _______________________________________________ > devl mailing list > [EMAIL PROTECTED] > http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl >
msg03335/pgp00000.pgp
Description: PGP signature
