Skip to content

Commit dc33aa1

Browse files
author
Halimjon Juraev
committed
Fix minor bug
1 parent 1094455 commit dc33aa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Nats/Nats.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public final class NATS: Service {
7676
switch config.natsType {
7777
case .client:
7878
let handler = try NatsHandler(container: self.container, config: self.config)
79+
self.handlerCacher.currentValue = handler
7980

8081
let bootstrap = ClientBootstrap(group: container.eventLoop)
8182
.channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)

0 commit comments

Comments
 (0)