Skip to content

Commit

Permalink
Upgrade Caliban and ZIO versions (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Jul 29, 2024
1 parent cd32211 commit 3a9738c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ val scala213 = "2.13.13"
val scala3 = "3.3.3"
val allScala = Seq(scala212, scala213, scala3)

val zioVersion = "2.1.1"
val zioVersion = "2.1.6"
val zioGrpcVersion = "0.6.2"
val grpcNettyVersion = "1.63.0"
val zioK8sVersion = "2.1.1"
val zioCacheVersion = "0.2.3"
val zioCatsInteropVersion = "23.1.0.0"
val sttpVersion = "3.9.6"
val calibanVersion = "2.6.0"
val calibanVersion = "2.8.1"
val redis4catsVersion = "1.5.2"
val redissonVersion = "3.27.1"
val scalaKryoVersion = "1.0.2"
Expand Down
7 changes: 2 additions & 5 deletions manager/src/main/scala/com/devsisters/shardcake/Server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ object Server {
) @@ Middleware.cors
_ <- ZIO.logInfo(s"Shard Manager server started on port ${config.apiPort}.")
nothing <- ZServer
.serve(routes.toHttpApp)
.serve(routes)
.provideSome[ShardManager](
ZServer.live,
ZLayer.succeed(
ZServer.Config.default
.port(config.apiPort)
)
ZLayer.succeed(ZServer.Config.default.port(config.apiPort))
)
} yield nothing
}

0 comments on commit 3a9738c

Please sign in to comment.