Skip to content

Commit

Permalink
fix: use system temp dir, not /a/tmp (#7581)
Browse files Browse the repository at this point in the history
* chore: remove IDSUBMIT_MANUAL_STAGING_DIR

unused

* fix: use system temp dir, not /a/tmp
  • Loading branch information
jennifer-richards committed Jun 21, 2024
1 parent 6f4e328 commit cc604a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ietf/idindex/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,6 @@ def skip_unreadable_post(record):
# 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',
Expand Down

0 comments on commit cc604a2

Please sign in to comment.