mikedamage/hayfever-chrome

Asynchronous updating of timer list

Closed this issue · 1 comments

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.

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.