mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-14 11:15:49 +00:00
Merge pull request #212 from kennycud/master
Reduced connection error to a warning. Removed unnecessary return val…
This commit is contained in:
commit
07474ab841
@ -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