Skip to content

Commit

Permalink
Increase limit time for download file
Browse files Browse the repository at this point in the history
  • Loading branch information
meomancer committed May 8, 2024
1 parent 0ef4ce8 commit 5f17636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def clean_download_file(self):
"""Run clean download file."""
for download in DownloadRequest.objects.all():
if download.age_hours >= 5:
if download.age_hours >= 10:
_file = download.file()
if _file:
os.remove(_file)

0 comments on commit 5f17636

Please sign in to comment.