On Wed, 11 Aug 2010 19:51:19 -0400 Matt Kettler <mkettler...@verizon.net> wrote:
> On 8/11/2010 1:30 PM, RW wrote: > > On Wed, 11 Aug 2010 07:48:11 -0400 > > Matt Kettler<mkettler...@verizon.net> wrote: > > > >> 1) lack of expiry process causes unbounded database growth. > >> There's a script to clean out single-hit entries, but multi-hit > >> persist forever, even when stale. (there are no timestamps on > >> entries, so expiry isn't possible at present). > > I don't think AWL really needs timestamps. It could be maintained by > > scaling down the count/token values and discarding entries where the > > count rounds-down to zero. > > > Well, yes, but this doesn't solve the situation where someone stops > mailing you. I meant do it periodically > They've got a nonzero average, and it will stay that way > forever if they stop emailing you. I meant reducing both count and total score such that the count is reduced, but the average remains unchanged.