summaryrefslogtreecommitdiff
path: root/scripts/scalability/makefile
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-20 17:18:18 -0200
committerdrebs <drebs@riseup.net>2017-11-02 09:36:31 -0200
commite3879ac206e66437cefbe968e77f757239640681 (patch)
treee48bbde2774e58d2b74bc992d645f8e170dfe0a5 /scripts/scalability/makefile
parentbba22c8439b56df4a74583f2582a89045ee43182 (diff)
[benchmarks] add tokens setup to server scalability test controller
Diffstat (limited to 'scripts/scalability/makefile')
-rw-r--r--scripts/scalability/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/scalability/makefile b/scripts/scalability/makefile
index e99717fc..0a248d37 100644
--- a/scripts/scalability/makefile
+++ b/scripts/scalability/makefile
@@ -3,6 +3,7 @@ LOGFILE = /tmp/test_controller.log
TACFILE = ./test_controller/server/server.tac
HTTP_PORT = 7001
RESOURCE = cpu
+CREATE = 1000
start:
twistd --pidfile=$(PIDFILE) --logfile=$(LOGFILE) --python=$(TACFILE)
@@ -25,4 +26,4 @@ get:
curl -X GET http://127.0.0.1:$(HTTP_PORT)/$(RESOURCE)
setup:
- curl -X POST http://127.0.0.1:$(HTTP_PORT)/setup
+ curl -X POST http://127.0.0.1:$(HTTP_PORT)/setup?create=$(CREATE)