Skip to content

Commit

Permalink
Removed news, added config to test config, updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritesh Patel authored and Pritesh Patel committed Aug 2, 2016
1 parent 4e1ebd0 commit 696b5a3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ It also depends on play-json for JSON serialization.
Use versions from *0.4.0* for Akka 2.4.x and Play 2.5.x
```
resolvers += Resolver.jcenterRepo // Adds Bintray to resolvers for akka-persistence-redis and rediscala
resolvers += Resolver.bintrayRepo("pritesh-patel", "maven") // to use until merged
libraryDependencies ++= Seq("com.hootsuite" %% "akka-persistence-redis" % "0.5.0")
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait DefaultRedisComponent {
} else {
val host = config.getString("redis.host")
val port = config.getInt("redis.port")
new RedisClient(host, port)
RedisClient(host, port)
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object SentinelUtils {
val sentinels = config.getConfigList("redis.sentinels") map { conf =>
conf.getString("host") -> conf.getInt("port")
}
new SentinelMonitoredRedisClient(sentinels,sentinelMaster).redisClient
SentinelMonitoredRedisClient(sentinels,sentinelMaster).redisClient
}

}
3 changes: 3 additions & 0 deletions src/test/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
redis {
host = "localhost"
port = 6379
sentinel = false
#sentinel-master = "mymaster"
#sentinels = [{host :"localhost", port: 26379}]
}

0 comments on commit 696b5a3

Please sign in to comment.