Skip to content

Commit

Permalink
Fix cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
0pg committed Feb 7, 2023
1 parent ba89a59 commit 4691778
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions redis/src/main/scala/zio/redis/RedisPubSub.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ object RedisPubSub {
lazy val local: ZLayer[BinaryCodec, RedisError.IOError, RedisPubSub] =
RedisConnectionLive.default.fresh >>> pubSublayer

lazy val test: ULayer[RedisPubSub] =
TestExecutor.layer

private lazy val pubSublayer: ZLayer[RedisConnection with BinaryCodec, RedisError.IOError, RedisPubSub] =
ZLayer.scoped(
ZIO.service[RedisConnection].flatMap(SingleNodeRedisPubSub.create(_))
Expand Down
Empty file.

0 comments on commit 4691778

Please sign in to comment.