mirror of
https://github.com/kakwa/uts-server
synced 2025-07-03 12:07:02 +02:00
revert change in stress.py test script
This commit is contained in:
parent
5b8d4b301a
commit
6c9df43b5c
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ with open(tsq_path) as f:
|
|||
counter=0
|
||||
old_time = time.time()
|
||||
while True:
|
||||
#h1 = httplib.HTTPConnection('localhost:2020')
|
||||
h1 = httplib.HTTPSConnection('freebsd.kakwa.fr:2020', context=ssl._create_unverified_context())
|
||||
h1 = httplib.HTTPConnection('localhost:2020')
|
||||
#h1 = httplib.HTTPSConnection('localhost:2020', context=ssl._create_unverified_context())
|
||||
h1.request('POST', '/', body, {"Content-Type": "application/timestamp-query"})
|
||||
response = h1.getresponse()
|
||||
h1.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue