mirror of https://github.com/grpc/grpc-node.git
Resolve first comments
This commit is contained in:
parent
889d1d3093
commit
4144558ee6
|
|
@ -128,7 +128,7 @@ export class ChannelImplementation implements Channel {
|
||||||
private readonly credentials: ChannelCredentials,
|
private readonly credentials: ChannelCredentials,
|
||||||
private readonly options: ChannelOptions
|
private readonly options: ChannelOptions
|
||||||
) {
|
) {
|
||||||
// TODO: check channel arg for getting a private pool
|
// TODO(murgatroid99): check channel arg for getting a private pool
|
||||||
this.subchannelPool = getSubchannelPool(true);
|
this.subchannelPool = getSubchannelPool(true);
|
||||||
const channelControlHelper: ChannelControlHelper = {
|
const channelControlHelper: ChannelControlHelper = {
|
||||||
createSubchannel: (
|
createSubchannel: (
|
||||||
|
|
|
||||||
|
|
@ -287,9 +287,7 @@ export { GrpcObject } from './make-client';
|
||||||
import * as resolver from './resolver';
|
import * as resolver from './resolver';
|
||||||
import * as load_balancer from './load-balancer';
|
import * as load_balancer from './load-balancer';
|
||||||
|
|
||||||
function setup() {
|
(() => {
|
||||||
resolver.registerAll();
|
resolver.registerAll();
|
||||||
load_balancer.registerAll();
|
load_balancer.registerAll();
|
||||||
}
|
})();
|
||||||
|
|
||||||
setup();
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue