Topics: Building and extending application blocks, Enterprise Library Core, General discussion
Sep 24, 2009 at 7:25 PM

When I profile my application , it seems that 60% of the time is spent in the method:


From what I can gather this method should only be invoked every 15 seconds so I find it hard to believe that it is actually taking up that much time.

Does anyone know how i can reduce the frequency that this method is called?





Sep 24, 2009 at 8:47 PM

Actually I have a feeling that the method just loops with a sleep inside of it or a loop with a wait inside of it.

I cannot find the source code for this so would still like that confirmed if anyone can.

Sep 25, 2009 at 3:12 AM

It's in the Common project under Core solution folder (Common/Configuration/Storage/ConfigurationChangeWatcher). Change the default value of the defaultPollDelayInMilliseconds.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.