mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-05-13 16:47:54 +00:00
Improve performance when reading data after upload. See #31
This commit is contained in:
parent
cbb249b96d
commit
2abf94d46c
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class FilePutter(threading.Thread):
|
|||
try:
|
||||
if (time.time() - self.starttime) <= 10:
|
||||
f = urlopen(self.url, self.data)
|
||||
contents = f.read()
|
||||
f.read(11)
|
||||
f.close()
|
||||
self.result = len(self.data)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue