Skip to content

Commit

Permalink
Respect upstream_gzip config setting when streaming dataset colle…
Browse files Browse the repository at this point in the history
…ction archive

Which means archives won't be compressed when this setting is activated.
This is about 20 times faster than the current default.
  • Loading branch information
mvdbeek committed Jan 31, 2024
1 parent 34fab93 commit fbad571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/webapps/galaxy/services/history_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,9 @@ def prepare_collection_download(self, trans, id: DecodedDatabaseIdField) -> Asyn

def __stream_dataset_collection(self, trans, dataset_collection_instance):
archive = hdcas.stream_dataset_collection(
dataset_collection_instance=dataset_collection_instance, upstream_mod_zip=trans.app.config.upstream_mod_zip
dataset_collection_instance=dataset_collection_instance,
upstream_mod_zip=trans.app.config.upstream_mod_zip,
upstream_gzip=trans.app.config.upstream_gzip,
)
return archive

Expand Down

0 comments on commit fbad571

Please sign in to comment.