Skip to content

Commit

Permalink
fix(redis): Fix issue where redis configs were only using defaults (#183
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Travis Tomsu authored Jun 16, 2017
1 parent 09bb686 commit af0040c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static JedisPool createPool(GenericObjectPoolConfig redisPoolConfig,
password = redisConnection.getUserInfo().split(":", 2)[1];
}

if (redisPoolConfig != null) {
if (redisPoolConfig == null) {
redisPoolConfig = new GenericObjectPoolConfig();
}

Expand Down

0 comments on commit af0040c

Please sign in to comment.