From a9d72844882f322349ab30cc495e5daf61a5dcd0 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 20 Mar 2016 18:10:33 -0700 Subject: [PATCH] Convert port into an int in benchmarker --- testproject/benchmark.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testproject/benchmark.py b/testproject/benchmark.py index 8b052d0..febb08b 100644 --- a/testproject/benchmark.py +++ b/testproject/benchmark.py @@ -96,6 +96,7 @@ class Benchmarker(object): if len(stats) >= self.num: return host, port = self.url.split("://")[1].split(":") + port = int(port) for i in range(self.rate): # TODO: Look at URL reactor.connectTCP(host, port, self.factory)