private IRpcWorkerChannel CreateTestChannel(string language) { var testChannel = _rpcWorkerChannelFactory.Create(_scriptRootPath, language, null, 0); _rpcWorkerChannelManager.AddOrUpdateWorkerChannels(language, testChannel); _rpcWorkerChannelManager.SetInitializedWorkerChannel(language, testChannel); return(testChannel); }
private IRpcWorkerChannel CreateTestChannel(string language) { var testChannel = _rpcWorkerChannelFactory.Create(_scriptRootPath, language, null, 0, _workerOptionsMonitor.CurrentValue.WorkerConfigs); _rpcWorkerChannelManager.AddOrUpdateWorkerChannels(language, testChannel); _rpcWorkerChannelManager.SetInitializedWorkerChannel(language, testChannel); return(testChannel); }