IssueTrackerProduct

A user friendly bug tracking web application for Zope

More clever autorefresh intervals

02 Jul 2007

 

The automatic refresh (when viewing an issue) used to happen every 40 seconds. That's now been changed to happen every 3 seconds (to start with).

An interval of 3 seconds is much more likely to actually help the user since it's more often. However, if you leave a few tabs of issuetracker issues open, you'll have n AJAX requests every 3 seconds (where n is the number of open tabs). If you leave your browser tabs open and go away for lunch you'll have incurred 1200*n requests in one hour.

The refresh interval is more clever than that. In fact, it increases the interval by 30% every time it does a refresh check. Meaning the next time it will wait for 3.1 seconds the second time, 3.2 seconds the third time and so on.

If you've left a page open viewing an issue, after one hour the refresh interval will have cooled down to only do an AJAX request every minute (roughly).

<<< Return to all news items