EHC ❯ setting net.sf.ehcache.skipUpdateCheck to true should not create unnecessary timer threads
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
ehcache-core
-
-
prodmgmt
-
Reporter: hucmuc
-
January 12, 2010
-
1
-
Watchers: 3
-
June 22, 2011
-
Description
The check for net.sf.ehcache.skipUpdateCheck is done within the run method of the timer thread. This should be checked before creating the Timer thread.
We have 20 ehcache-xxx files creating 20 unnecessary timer threads checking for updates.
Comments
Fiona OShea 2010-01-19
Stevo Slavic 2011-06-22
Workaround - UpdaterChecker (TimerTask) is not instantiated if in ehcache XML configuration file(s) one explicitly sets updateCheck attribute of ehcache element to false. This attribute is optional and defaults to true.
Review of update checker and defaults under consideration for future releases