mikedamage / hayfever-chrome

An extension for Google Chrome that lets you manage your Harvest timers
http://mikedamage.github.com/hayfever-chrome
GNU General Public License v2.0
22 stars 10 forks source link

Asynchronous updating of timer list #7

Closed byrnereese closed 13 years ago

byrnereese commented 13 years ago

During the beta test I am running the OS X Widget and the Chrome extension at the same time. I noticed that when I started a timer in the widget, it was not updating in the extension. Does your extension periodically poll harvest for updates (e.g. does it "refresh" in the background)?

Personally it would be great if it did just so that it was always up to date when and if I made changes on the backend to a task name or something like that.

mikedamage commented 13 years ago

The plugin does periodically poll Harvest for new timer entries. It's currently set to refresh every 36 seconds. Unfortunately I can't tighten up this interval because of Harvest API rate limiting.

What I have noticed is that it doesn't always update the timer list if an update fires while the popup is open. I'll add this to my punch list.