Permalink
Browse files

Increase cooldown to 6 hours to allow propagation

  • Loading branch information...
athos-ribeiro committed Aug 9, 2018
1 parent f38ac16 commit c5be18f8bf7fb483603388faa738fc8c771d7b97
Showing with 1 addition and 1 deletion.
  1. +1 −1 salt/files/check_new_uploads
@@ -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')

0 comments on commit c5be18f

Please sign in to comment.