Commit 797b2f4f authored by Thomas Urban's avatar Thomas Urban

revising script to obey environment variables for client/test configuration

parent 4f2fc03c
......@@ -28,10 +28,10 @@
"use strict";
const MaxUrlCount = 100;
const NumClients = 20;
const DelayRange = 10;
const DelayMinimum = 10;
const MaxUrlCount = Math.max( parseInt( process.env.MAX_URL_COUNT ), 0 ) || 100;
const NumClients = Math.max( parseInt( process.env.NUM_CLIENTS ), 0 ) || 20;
const DelayMinimum = Math.max( parseInt( process.env.DELAY_MINIMUM ), 0 ) || 10;
const DelayRange = Math.max( parseInt( process.env.DELAY_RANGE ), 0 ) || 10;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment