neo4j/community — pull request #384 by jakewins (2012-04-02 11:26:24+00:00)
Title: Modified UDC to run one thread per DB

UDC previously ran one global timer thread for it's business. However, this lead to problems when running in certain containers, like Tomcat, that expect a clean slate after a resource has been shut down.

This change will mean there is one thread started for each embedded database, and that the thread is destroyed when that database is unloaded.

Related issue: https://github.com/neo4j/community/issues/279