Permalink
Browse files

threads, use bigger server

  • Loading branch information...
1 parent 398a186 commit d3b29b89cc5ea0b40729ea6dfd1a7f6b03820c4d @CloudMarc committed Dec 11, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 mq.py
View
5 mq.py
@@ -28,7 +28,8 @@ def handler(signum, frame):
# http://mq-aws-us-east-1.iron.io/ping
# host= "mq-aws-us-east-1.iron.io"
#host= "174.129.54.171"
-host = "10.196.125.22"
+#host = "10.196.125.22"
+host = "10.102.65.180"
port = "8081"
version = "1"
#project_id = "4e71843298ea9b6b9f000004"
@@ -150,7 +151,7 @@ def run(self):
ta = []
t0 = time.time()
runcount = 100
-nThreads = 10
+nThreads = 20
for i in range(nThreads):
msg_id = "notset"
th = myThread(i, "Thread-"+str(i),0, bUrl, key, msg_id, token, project_id, host, port, runcount)

0 comments on commit d3b29b8

Please sign in to comment.