fix: use system temp dir, not /a/tmp (#7581)
* chore: remove IDSUBMIT_MANUAL_STAGING_DIR unused * fix: use system temp dir, not /a/tmp
This commit is contained in:
parent
6f4e328334
commit
cc604a247b
|
@ -57,7 +57,7 @@ def idindex_update_task():
|
|||
ftp_path = Path(settings.FTP_DIR) / "internet-drafts"
|
||||
all_archive_path = Path(settings.INTERNET_ALL_DRAFTS_ARCHIVE_DIR)
|
||||
|
||||
with TempFileManager("/a/tmp") as tmp_mgr:
|
||||
with TempFileManager() as tmp_mgr:
|
||||
# Generate copies of new contents
|
||||
all_id_content = all_id_txt()
|
||||
all_id_tmpfile = tmp_mgr.make_temp_file(all_id_content)
|
||||
|
|
|
@ -821,8 +821,6 @@ IDSUBMIT_MAX_VALIDATION_TIME = datetime.timedelta(minutes=20)
|
|||
# Age at which a submission expires if not posted
|
||||
IDSUBMIT_EXPIRATION_AGE = datetime.timedelta(days=14)
|
||||
|
||||
IDSUBMIT_MANUAL_STAGING_DIR = '/tmp/'
|
||||
|
||||
IDSUBMIT_FILE_TYPES = (
|
||||
'txt',
|
||||
'html',
|
||||
|
|
Loading…
Reference in a new issue