Skip to content

Commit

Permalink
threads, use bigger server
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudMarc committed Dec 11, 2011
1 parent 398a186 commit d3b29b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mq.py
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d3b29b8

Please sign in to comment.