Skip to content

Commit c88d264

Browse files
committed
Reduce readlines size to 10 million
1 parent 628fda6 commit c88d264

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/galaxy/tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3821,7 +3821,7 @@ def _add_datasets_to_history(self, history, elements, datasets_visible=False):
38213821
history.stage_addition(element_object)
38223822

38233823
@staticmethod
3824-
def _read_text_file_lines(path: str, size_hint: int = 1024 * 1000000) -> list[str]:
3824+
def _read_text_file_lines(path: str, size_hint: int = 10000000) -> list[str]:
38253825
try:
38263826
with open(path) as fh:
38273827
return fh.readlines(size_hint)

0 commit comments

Comments
 (0)