conn/rpc: Don't bother sending RPCDrop requests to server
This commit is contained in:
@@ -161,7 +161,7 @@ func New(dialer Dialer, opt Options) *Conn {
|
|||||||
RetryInterval: opt.RetryInterval,
|
RetryInterval: opt.RetryInterval,
|
||||||
MaxRetries: opt.MaxRetries,
|
MaxRetries: opt.MaxRetries,
|
||||||
Clock: opt.Clock,
|
Clock: opt.Clock,
|
||||||
DropHandler: conn.dropRPC,
|
DropHandler: rpc.NopDrop, // was conn.dropRPC, but disabled for faster shutdown
|
||||||
OnError: opt.OnError,
|
OnError: opt.OnError,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user