Skip to content

Commit 4971f65

Browse files
ponyisiBenGalewsky
authored andcommitted
Yield partial results so large Rucio lookups start faster
1 parent 0db7ea9 commit 4971f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

did_finder_rucio/src/rucio_did_finder/lookup_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def lookup_files(self):
6969
ds_size += af['file_size']
7070
total_paths += len(af['paths'])
7171
full_file_list.append(af)
72-
yield full_file_list
72+
yield ds_files
7373

7474
lookup_finish = datetime.now()
7575

0 commit comments

Comments
 (0)