And I was just about to request the opposite. Give the expavg and expavg_time to the widget, and let the widget do the decay. Less load for your server, and it could be made so the widget updates the RAC every minute without having to contact your server.
But I guess I'd rather do my own widget if I want the fancy changing numbers.
I could add an option to the widgets which would allow decay to be calculated automatically if the user desired.
Would this meet your needs?
I still plan to only update RACs when I update my databases as opposed to for every stats request (as happens now) for the stats graphics and BOINC stats pages.
Thanks Neil...That sounds good to me...I was getting depressed watching my All in One sig RAC declining every moment with no hope for an increase but once a day...It seems you have found a good solution.