From: Jesse E. <jes...@ca...> - 2014-11-06 13:16:54
|
Branch: refs/heads/develop Home: https://github.com/geonetwork/core-geonetwork Commit: 9b8855a633617c3dcb937a581fbe025150b2f866 https://github.com/geonetwork/core-geonetwork/commit/9b8855a633617c3dcb937a581fbe025150b2f866 Author: Jesse Eichar <jes...@ca...> Date: 2014-11-06 (Thu, 06 Nov 2014) Changed paths: A common/src/main/java/org/fao/geonet/utils/TimerThreadFactory.java M core/src/main/java/org/fao/geonet/kernel/search/SearchManager.java M core/src/main/java/org/fao/geonet/kernel/search/index/LuceneIndexLanguageTracker.java M core/src/main/java/org/fao/geonet/notifier/MetadataNotifierManager.java A domain/src/main/resources/config-spring-geonetwork-parent.xml Log Message: ----------- Replace timers with single ScheduledServiceExecutor. Timers were a thread leak in Metadata Notifier because each notification started a new timer but timers never have their thread shutdown. Also was a problem for tests because timers kept getting created until (occasionally) a perm gen error occurred |