Skip to content

Commit 2728477

Browse files
authored
Adds full conformance to the RedisClient protocol to use the context's eventLoop for commands vs the default RedisConnectionPools eventLoop for commands. (#27)
1 parent ea77bf3 commit 2728477

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/QueuesRedisDriver/JobsRedisDriver.swift

+4
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ extension _QueuesRedisQueue: RedisClient {
102102
return true
103103
}
104104

105+
var eventLoop: EventLoop {
106+
self.context.eventLoop
107+
}
108+
105109
func send(command: String, with arguments: [RESPValue]) -> EventLoopFuture<RESPValue> {
106110
self.client.send(command: command, with: arguments)
107111
}

0 commit comments

Comments
 (0)