Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mordil committed Apr 20, 2022
1 parent 7f80efc commit 921d702
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Sources/Redis/Application+Redis.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ extension Application.Redis: RedisClient {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) -> EventLoopFuture<Void> {
self.application.redis(self.id)
.pubsubClient
Expand All @@ -67,8 +67,8 @@ extension Application.Redis: RedisClient {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) -> EventLoopFuture<Void> {
self.application.redis(self.id)
.pubsubClient
Expand Down
16 changes: 8 additions & 8 deletions Sources/Redis/Redis+Concurrency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ extension Application.Redis {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) async throws {
try await self.application.redis(self.id)
.pubsubClient
Expand All @@ -44,8 +44,8 @@ extension Application.Redis {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) async throws {
try await self.application.redis(self.id)
.pubsubClient
Expand Down Expand Up @@ -107,8 +107,8 @@ extension Request.Redis {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) async throws {
try await self.request.application.redis(self.id)
.pubsubClient
Expand All @@ -130,8 +130,8 @@ extension Request.Redis {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) async throws {
try await self.request.application.redis(self.id)
.pubsubClient
Expand Down
8 changes: 4 additions & 4 deletions Sources/Redis/Request+Redis.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ extension Request.Redis: RedisClient {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) -> EventLoopFuture<Void> {
self.request.application.redis(self.id)
.pubsubClient
Expand All @@ -62,8 +62,8 @@ extension Request.Redis: RedisClient {
eventLoop: EventLoop? = nil,
logger: Logger? = nil,
messageReceiver receiver: @escaping RedisSubscriptionMessageReceiver,
onSubscribe subscribeHandler: RedisSubscriptionChangeHandler?,
onUnsubscribe unsubscribeHandler: RedisSubscriptionChangeHandler?
onSubscribe subscribeHandler: RedisSubscribeHandler?,
onUnsubscribe unsubscribeHandler: RedisUnsubscribeHandler?
) -> EventLoopFuture<Void> {
self.request.application.redis(self.id)
.pubsubClient
Expand Down

0 comments on commit 921d702

Please sign in to comment.