Hello,

If anybody has a few cycles to spare, I could use some reviewers for a
patch I just submitted. It adds a "maximum frequency" option to
Ajax.PeriodicalUpdater's decay functionality, so you can do:

    new Ajax.PeriodicalUpdater('widgetList', '/widgets.json',
{ frequency: 1, decay: 2, maxFrequency: 5 });

When the response is not modified, the time between requests will only
decay to 5 seconds at the most (after increasing from 1 to 2, and then
to 4). I've needed something like this almost every time I've used
Ajax.PeriodicalUpdater to prevent decayed frequencies on the order of
minutes.

http://dev.rubyonrails.org/ticket/8184

Thanks,
Chris Kampmeier


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to