diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb index 2ca970fa8e..11c47a5ea9 100644 --- a/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb +++ b/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb @@ -38,9 +38,9 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ActionMailbox ActiveSupport::SecurityUtils.secure_compare signature, expected_signature end - # Allow for 10 minutes of drift between Mailgun time and local server time. + # Allow for 2 minutes of drift between Mailgun time and local server time. def recent? - time >= 10.minutes.ago + time >= 2.minutes.ago end def expected_signature |