forked from Qortal/qortal
Reduced connection error to a warning. Removed unnecessary return value. Another file needed to be added to the last commit; here it is.
This commit is contained in:
parent
bb40dcde65
commit
76f5d17f81
@ -8,7 +8,6 @@ import org.qortal.settings.Settings;
|
|||||||
|
|
||||||
public class HSQLDBDataCacheManager extends Thread{
|
public class HSQLDBDataCacheManager extends Thread{
|
||||||
|
|
||||||
private ArbitraryResourceCache cache = ArbitraryResourceCache.getInstance();
|
|
||||||
private HSQLDBRepository respository;
|
private HSQLDBRepository respository;
|
||||||
|
|
||||||
public HSQLDBDataCacheManager(HSQLDBRepository respository) {
|
public HSQLDBDataCacheManager(HSQLDBRepository respository) {
|
||||||
@ -19,11 +18,10 @@ public class HSQLDBDataCacheManager extends Thread{
|
|||||||
public void run() {
|
public void run() {
|
||||||
Thread.currentThread().setName("HSQLDB Data Cache Manager");
|
Thread.currentThread().setName("HSQLDB Data Cache Manager");
|
||||||
|
|
||||||
this.cache
|
HSQLDBCacheUtils.startCaching(
|
||||||
= HSQLDBCacheUtils.startCaching(
|
Settings.getInstance().getDbCacheThreadPriority(),
|
||||||
Settings.getInstance().getDbCacheThreadPriority(),
|
Settings.getInstance().getDbCacheFrequency(),
|
||||||
Settings.getInstance().getDbCacheFrequency(),
|
this.respository
|
||||||
this.respository
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user