From d4f3c373269b212471a3d1bc38db5117c872efb5 Mon Sep 17 00:00:00 2001 From: Demid Date: Tue, 12 Nov 2024 17:25:35 +0200 Subject: [PATCH] docs: document ORA lease expiration settings (#35818) --- lms/envs/common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index d227cb0bc0ec..29e90eddfbcd 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3830,6 +3830,16 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring # By default, don't use a file prefix ORA2_FILE_PREFIX = None +# .. setting_name: ORA_PEER_LEASE_EXPIRATION_HOURS +# .. setting_default: 8 +# .. setting_description: Amount of time before a lease on a peer submission expires +ORA_PEER_LEASE_EXPIRATION_HOURS = 8 + +# .. setting_name: ORA_STAFF_LEASE_EXPIRATION_HOURS +# .. setting_default: 8 +# .. setting_description: Amount of time before a lease on a staff submission expires +ORA_STAFF_LEASE_EXPIRATION_HOURS = 8 + # Default File Upload Storage bucket and prefix. Used by the FileUpload Service. FILE_UPLOAD_STORAGE_BUCKET_NAME = 'SET-ME-PLEASE (ex. bucket-name)' FILE_UPLOAD_STORAGE_PREFIX = 'submissions_attachments'