views:

86

answers:

2

Is there a way to change the poll interval for the Build Notification tray application for TFS 2010?

+1  A: 

Ironically, the code for the Build Notifcation tray application does support changing the poll interval by means of a parameterable constructor, but the root code which starts the polling off hard codes the value.

If you really want to change the poll interval, then you could theoretically create a replacement Main() procedure, and re write the launch of the form and polling timer in order to be able to pass in your own configurable poll interval, but I think that that would probably not be worth the time & investment.

Antony Gibbs
Thank you. This really sucks! The Build notification tray is very useful but works badly when doing frequent check-ins and fast CI builds.
Hakan Forss
A: 

Hi Hankan,

Seem to keep running into you recently! I have written a blog about how you can change the default 2 minute notification delay.

http://consultingblogs.emc.com/crispinparker/archive/2010/03/05/team-foundation-server-2010-rc-job-service-delay.aspx

And I agree that it deeply sucks. When pressed Microsoft told us that the 2 minute delay was added to ensure that enterprise level TFS environments don't get swamped with notifications. However, we estimate that only a very small percentage would qualify as "Enterprise" level. So we alll suffer for the sake of the few.

Crispin.

Crispin
Thank you Crispin, but will that really affect the Build Notifcation tray application?
Hakan Forss