Arber Xhindoli pushed to branch arber/91-get-tree at BuildGrid / buildgrid
Commits:
-
a14ba6db
by Arber Xhindoli at 2018-11-26T21:57:32Z
1 changed file:
Changes:
... | ... | @@ -74,9 +74,11 @@ class ContentAddressableStorageInstance: |
74 | 74 |
if not page_size:
|
75 | 75 |
page_size = request.page_size
|
76 | 76 |
yield response
|
77 |
+ response = re_pb2.GetTreeResponse()
|
|
77 | 78 |
|
78 | 79 |
if response.ByteSize() >= (MAX_REQUEST_SIZE):
|
79 | 80 |
yield response
|
81 |
+ response = re_pb2.GetTreeResponse()
|
|
80 | 82 |
|
81 | 83 |
directory_from_digest = storage.get_message(node_digest, re_pb2.Directory)
|
82 | 84 |
page_size -= 1
|