aboutsummaryrefslogtreecommitdiffstats
path: root/app/jobs/action_mailbox/routing_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/jobs/action_mailbox/routing_job.rb')
-rw-r--r--app/jobs/action_mailbox/routing_job.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/jobs/action_mailbox/routing_job.rb b/app/jobs/action_mailbox/routing_job.rb
index 786187528a..c345227617 100644
--- a/app/jobs/action_mailbox/routing_job.rb
+++ b/app/jobs/action_mailbox/routing_job.rb
@@ -1,3 +1,5 @@
+# Routing a new InboundEmail is an asynchronous operation, which allows the ingress controllers to quickly
+# accept new incoming emails without being burdened to hang while they're actually being processed.
class ActionMailbox::RoutingJob < ActiveJob::Base
queue_as { ActionMailbox.queues[:routing] }