Commit 1f4f6132 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

log read data

parent 9dd15470
......@@ -159,7 +159,6 @@ class Level1DataApi(object):
with open(rec.file_path, 'rb') as f:
while True:
data = f.read(UPLOAD_CHUNK_SIZE)
print("read data len: %d" %(len(data),))
if not data:
break
yield level1_pb2.WriteLevel1Req(record = rec, data = data)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment