From 4a5a11512606da1b95ca64960fdb8472bdedc7e2 Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Mon, 24 Apr 2023 16:05:27 +0200
Subject: [PATCH] Disable archive download per default

* because the archive ("download all") is generated on the fly and thus
  blocks one uwsgi worker thread for the download duration
---
 invenio_config_tuw/config.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/invenio_config_tuw/config.py b/invenio_config_tuw/config.py
index cad4c94..a25afaf 100644
--- a/invenio_config_tuw/config.py
+++ b/invenio_config_tuw/config.py
@@ -181,6 +181,8 @@ OAISERVER_METADATA_FORMATS = {
     },
 }
 
+RDM_ARCHIVE_DOWNLOAD_ENABLED = False
+
 
 # Invenio-Requests
 # ================
-- 
GitLab