aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/performance
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-01-29 01:24:05 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-01-29 01:24:05 -0800
commit5919e81ff18ebb5bfde89764cfff9672bebf2123 (patch)
tree649b62696388bd0a9012f2e8f230bdf91a4cd414 /src/node/performance
parent50d012bb82cec63d87e4bbef0274eef10bcbdf25 (diff)
Remove host option from ServerConfig proto since it is error-prone and
may cause inter-language confusion.
Diffstat (limited to 'src/node/performance')
-rw-r--r--src/node/performance/worker_service_impl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/performance/worker_service_impl.js b/src/node/performance/worker_service_impl.js
index 8841ae13c3..99ae32127e 100644
--- a/src/node/performance/worker_service_impl.js
+++ b/src/node/performance/worker_service_impl.js
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2015, Google Inc.
+ * Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -99,7 +99,7 @@ exports.runServer = function runServer(call) {
var stats;
switch (request.argtype) {
case 'setup':
- server = new BenchmarkServer(request.setup.host, request.setup.port,
+ server = new BenchmarkServer('[::]', request.setup.port,
request.setup.security_params);
server.start();
stats = server.mark();