We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eefe83d commit bf34fddCopy full SHA for bf34fdd
Sources/GRPC/GRPCIdleHandler.swift
@@ -265,7 +265,9 @@ internal final class GRPCIdleHandler: ChannelInboundHandler {
265
initialDelay: delay,
266
delay: delay
267
) { _ in
268
- self.handlePingAction(self.pingHandler.pingFired())
+ let action = self.pingHandler.pingFired()
269
+ if case .none = action { return }
270
+ self.handlePingAction(action)
271
// `timeout` is less than `interval`, guaranteeing that the close task
272
// will be fired before a new ping is triggered.
273
assert(timeout < delay, "`timeout` must be less than `interval`")
0 commit comments