Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api-cluster
Commits
1f4f6132
Commit
1f4f6132
authored
Aug 11, 2021
by
Wei Shoulin
Browse files
log read data
parent
9dd15470
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api_cluster/msc/level1.py
View file @
1f4f6132
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment