Skip to content

Commit

Permalink
Merge pull request #212 from kennycud/master
Browse files Browse the repository at this point in the history
Reduced connection error to a warning. Removed unnecessary return val…
  • Loading branch information
kennycud authored Nov 8, 2024
2 parents 50d6e38 + 76f5d17 commit 07474ab
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

public class HSQLDBDataCacheManager extends Thread{

private ArbitraryResourceCache cache = ArbitraryResourceCache.getInstance();
private HSQLDBRepository respository;

public HSQLDBDataCacheManager(HSQLDBRepository respository) {
Expand All @@ -19,11 +18,10 @@ public HSQLDBDataCacheManager(HSQLDBRepository respository) {
public void run() {
Thread.currentThread().setName("HSQLDB Data Cache Manager");

this.cache
= HSQLDBCacheUtils.startCaching(
Settings.getInstance().getDbCacheThreadPriority(),
Settings.getInstance().getDbCacheFrequency(),
this.respository
HSQLDBCacheUtils.startCaching(
Settings.getInstance().getDbCacheThreadPriority(),
Settings.getInstance().getDbCacheFrequency(),
this.respository
);
}
}

0 comments on commit 07474ab

Please sign in to comment.