mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-23 15:12:58 +00:00
#2320 - Tidy only changes
This commit is contained in:
1 parent
7edfe3607d
commit
965f4c6227
3 files changed
+9
-20
No files matched your search
@@ -72,7 +72,6 @@ final class RedisCacheFactory implements ServerCacheFactory {
|
||||
|
||||
private final BackgroundExecutor executor;
|
||||
private final JedisPool jedisPool;
|
||||
private final DaemonTopicRunner daemonTopicRunner;
|
||||
private final NearCacheNotify nearCacheNotify;
|
||||
private final TimedMetric metricOutNearCache;
|
||||
private final TimedMetric metricOutTableMod;
|
||||
@@ -96,11 +95,9 @@ final class RedisCacheFactory implements ServerCacheFactory {
|
||||
this.metricInNearCache = factory.createTimedMetric("l2a.inNearKeys");
|
||||
if (config.isDisableL2Cache()) {
|
||||
this.jedisPool = null;
|
||||
this.daemonTopicRunner = null;
|
||||
} else {
|
||||
this.jedisPool = getJedisPool(config);
|
||||
this.daemonTopicRunner = new DaemonTopicRunner(jedisPool, new CacheDaemonTopic());
|
||||
daemonTopicRunner.run();
|
||||
new DaemonTopicRunner(jedisPool, new CacheDaemonTopic()).run();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user