ProcessOutboxJob #224
-
Hi, my question is about ProcessOutboxJob. As this job is planned to be played every two seconds, what happened if an event handler takes more than 2 seconds to be executed? The next call to ProcessOutboxJob will play the events not already played by the previous one, as they are not marked processed, and the last one will execute the rest of the events in its list, right? So they will be played twice. Am I right or is there something I've missed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, @didiercauvin.
|
Beta Was this translation helpful? Give feedback.
Hi, @didiercauvin.
You missed that
DisallowConcurrentExecutionAttribute
is added to ProcessOutboxJob class. According to documentation the attribute: