diff --git a/client/src/stores/notificationsStore.ts b/client/src/stores/notificationsStore.ts index 6a7837e6792..0396d48b256 100644 --- a/client/src/stores/notificationsStore.ts +++ b/client/src/stores/notificationsStore.ts @@ -12,8 +12,8 @@ import { mergeObjectListsById } from "@/utils/utils"; import { useBroadcastsStore } from "./broadcastsStore"; -const ACTIVE_POLLING_INTERVAL = 5000; -const INACTIVE_POLLING_INTERVAL = 30000; +const ACTIVE_POLLING_INTERVAL = 30000; // 30 seconds +const INACTIVE_POLLING_INTERVAL = ACTIVE_POLLING_INTERVAL * 20; // 10 minutes export const useNotificationsStore = defineStore("notificationsStore", () => { const { startWatchingResource: startWatchingNotifications } = useResourceWatcher(getNotificationStatus, { diff --git a/lib/galaxy/tools/actions/upload_common.py b/lib/galaxy/tools/actions/upload_common.py index b1f9a8f22a4..8101af78b32 100644 --- a/lib/galaxy/tools/actions/upload_common.py +++ b/lib/galaxy/tools/actions/upload_common.py @@ -140,8 +140,6 @@ def __new_history_upload(trans, uploaded_dataset, history=None, state=None): hda.state = state else: hda.state = hda.states.QUEUED - with transaction(trans.sa_session): - trans.sa_session.commit() history.add_dataset(hda, genome_build=uploaded_dataset.dbkey, quota=False) permissions = trans.app.security_agent.history_get_default_permissions(history) trans.app.security_agent.set_all_dataset_permissions(hda.dataset, permissions, new=True, flush=False) diff --git a/lib/galaxy/tools/parameters/basic.py b/lib/galaxy/tools/parameters/basic.py index 270039ded8d..0ec2a659e86 100644 --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -2652,8 +2652,7 @@ class RulesListToolParameter(BaseJsonToolParameter): def to_dict(self, trans, other_values=None): other_values = other_values or {} d = ToolParameter.to_dict(self, trans) - if (target_name := self.data_ref) in other_values: - target = other_values[target_name] + if target := other_values.get(self.data_ref): if not is_runtime_value(target): d["target"] = { "src": "hdca" if hasattr(target, "collection") else "hda",