Revert "Pre create upload data, to not impact timing"
This reverts commit 6685d91729
.
This commit is contained in:
parent
53ef57bd5e
commit
2acba6ecd7
|
@ -1082,11 +1082,13 @@ class Speedtest(object):
|
|||
for i, size in enumerate(sizes):
|
||||
# We set ``0`` for ``start`` and handle setting the actual
|
||||
# ``start`` in ``HTTPUploader`` to get better measurements
|
||||
data = HTTPUploaderData(size, 0, self.config['length']['upload'])
|
||||
data._create_data()
|
||||
requests.append(
|
||||
(
|
||||
build_request(self.best['url'], data),
|
||||
build_request(
|
||||
self.best['url'],
|
||||
HTTPUploaderData(size, 0,
|
||||
self.config['length']['upload'])
|
||||
),
|
||||
size
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue