Skip to content

Commit

Permalink
Increase cooldown to 6 hours to allow propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
athos-ribeiro committed Aug 9, 2018
1 parent f38ac16 commit c5be18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/files/check_new_uploads
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for num in data[0].split():
# We want to give some time so the upload can propagate to the mirrors
email_time = email.utils.parsedate_tz(parsed_email['date'])
email_time_utc = email.utils.mktime_tz(email_time)
upload_time_limit = time.time() - 4*60*60
upload_time_limit = time.time() - 6*60*60
if email_time_utc > upload_time_limit:
# Too recent to be parsed
M.store(num, '-FLAGS', '\\SEEN')
Expand Down

0 comments on commit c5be18f

Please sign in to comment.