-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
I have a participant that takes a lot of time. LongRunningParticpant
This LongRunningParticpant
is placed after the SendResponse participant in the txn mgr.
But since the response is only sent in the commit method
It gets sent after the 'LongRunningParticpant'
completes.
Snippet of profiler
<profiler>
prepare: o.j.q.p.Router [0.6/0.6]
prepare: c.o.a.PrepareContext [1.7/2.4]
prepare: c.o.a.InsertRulesInDB [21.8/24.2]
prepare: o.j.q.SendResponse [0.1/24.4]
prepare: c.o.a.TriggerMerchantBlockCacheReload [60241.7/60266.1]
commit: c.o.a.PrepareContext [0.1/60266.2]
commit: c.o.a.InsertRulesInDB [0.0/60266.3]
commit: o.j.q.SendResponse [0.8/60267.1]
commit: c.o.a.TriggerMerchantBlockCacheReload [0.0/60267.1]
end [1.2/60268.3]
</profiler>
So the question is why does the prepare not do anything in the SendResponse participant?
Metadata
Metadata
Assignees
Labels
No labels