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,
|
||||
MaxRetries: opt.MaxRetries,
|
||||
Clock: opt.Clock,
|
||||
DropHandler: conn.dropRPC,
|
||||
DropHandler: rpc.NopDrop, // was conn.dropRPC, but disabled for faster shutdown
|
||||
OnError: opt.OnError,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user