mirror of https://github.com/apache/openjpa.git
Set the data cache schedule thread to be a daemon thread.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bdae6535ec
commit
f18ea3dd33
|
@ -97,6 +97,7 @@ public class DataCacheScheduler
|
|||
_stop = false;
|
||||
if (_thread == null) {
|
||||
_thread = new Thread(this, _loc.get("scheduler-name").getMessage());
|
||||
_thread.setDaemon(true);
|
||||
_thread.start();
|
||||
if (_log.isTraceEnabled())
|
||||
_log.trace(_loc.get("scheduler-start", _thread.getName()));
|
||||
|
|
Loading…
Reference in New Issue