You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2019/07/15 10:54:47 UTC
[sling-whiteboard] 02/02: tweaks
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 97210557e0bf05899b7883fe28e1b2c85b6dbf95
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Jul 15 12:54:34 2019 +0200
tweaks
---
time-to-first-request/index.js | 3 ---
1 file changed, 3 deletions(-)
diff --git a/time-to-first-request/index.js b/time-to-first-request/index.js
index 47dd978..c2d68c2 100644
--- a/time-to-first-request/index.js
+++ b/time-to-first-request/index.js
@@ -46,8 +46,6 @@ const argv = yargs
})
.argv
-// A number of things are hardcoded below that you may want to
-// adapt (or make configurable - patches welcome)
const listenPort = argv.listen;
const targetUrl = `http://127.0.0.1:${argv.dockerHostPort}`;
const waitUrl = `${targetUrl}/${argv.waitOn}`;
@@ -59,7 +57,6 @@ dockerStartOptions['PortBindings'][`${argv.dockerContainerPort}/tcp`] =
"HostIP":"0.0.0.0",
"HostPort": `${argv.dockerHostPort}`
}];
-console.log(dockerStartOptions);
const proxy = httpProxy.createProxyServer({});