Skip to content

Commit

Permalink
docs: document ORA lease expiration settings (openedx#35818)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x29a authored Nov 12, 2024
1 parent 68739ce commit d4f3c37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d4f3c37

Please sign in to comment.