From 9c29c90899e81254d7e493e257acbcb419d4808b Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:59:36 +0100 Subject: [PATCH] Exclude user-provided object stores from quota calculation --- lib/galaxy/model/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 9843696f0db8..7dd29acd0132 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -644,6 +644,7 @@ def stderr(self, stderr): LEFT OUTER JOIN library_dataset_dataset_association ON dataset.id = library_dataset_dataset_association.dataset_id WHERE dataset.id IN (SELECT dataset_id FROM per_hist_hdas) AND library_dataset_dataset_association.id IS NULL + AND dataset.object_store_id NOT LIKE 'user_objects://%' {and_dataset_condition} """