I have an Event Listener processing Space Object (events). I also do some
long processing in Event Listener and at times my transactions timeout. I
don't want to increase transaction timeout b/c. I am using Pessimistic
locking and acquiring Exclusive Read Locks while reading Space objects.
I am thinking about moving Long task from Event Listener to an Execution
Task, I know Execution Task joins the same transaction as the Event
Listener. I am not sure if this will help my cause to avoid Transaction
Timeouts. Would someone please help?
I am not sure if:
Transaction Timeout must be less then Take + Event Listener + Execution
Task time or
Transaction Timeout must be less then Take + Event Listener
Please help!
Regards,
↧