Skip to content

Commit 057e559

Browse files
authored
Upgrade redis4cats (#162)
1 parent 162bcb7 commit 057e559

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ val zioCacheVersion = "0.2.4"
1111
val zioCatsInteropVersion = "23.1.0.5"
1212
val sttpVersion = "3.10.3"
1313
val calibanVersion = "2.10.0"
14-
val redis4catsVersion = "1.7.2"
14+
val redis4catsVersion = "2.0.1"
1515
val redissonVersion = "3.45.1"
1616
val scalaKryoVersion = "1.2.1"
1717
val testContainersVersion = "0.43.0"

storage-redis/src/main/scala/com/devsisters/shardcake/StorageRedis.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import scala.collection.compat._
1212

1313
object StorageRedis {
1414
type fs2Stream[A] = fs2.Stream[Task, A]
15-
type Redis = RedisCommands[Task, String, String] with PubSubCommands[fs2Stream, String, String]
15+
type Redis = RedisCommands[Task, String, String] with PubSubCommands[Task, fs2Stream, String, String]
1616

1717
/**
1818
* A layer that returns a Storage implementation using Redis
@@ -22,7 +22,7 @@ object StorageRedis {
2222
for {
2323
config <- ZIO.service[RedisConfig]
2424
stringClient <- ZIO.service[RedisCommands[Task, String, String]]
25-
pubSubClient <- ZIO.service[PubSubCommands[fs2Stream, String, String]]
25+
pubSubClient <- ZIO.service[PubSubCommands[Task, fs2Stream, String, String]]
2626
} yield new Storage {
2727
def getAssignments: Task[Map[ShardId, Option[PodAddress]]] =
2828
stringClient

0 commit comments

Comments
 (0)