fix: detect DONE in WebSocket, bump to 1.0.13
Deploy loadtest / validate (push) Waiting to run

This commit is contained in:
2026-07-11 00:11:24 +04:00
parent 836dd3978d
commit b8e25654c3
+2
View File
@@ -29,6 +29,8 @@ def ws_upload(ws):
chunk = ws.receive()
if chunk is None:
break
if isinstance(chunk, str) and chunk == 'DONE':
break
total += len(chunk)
elapsed = round((time.time() - t0) * 1000)
ws.send(json.dumps({'ok': True, 'bytes': total, 'elapsed_ms': elapsed}))