Previously DeferredResult locked around the setting of the result including handling up to the part of submitting a dispatch. This can cause a deadlock if a timeout occurs at the same time since the Tomcat timeout thread has its own locking that permits only one thread to do timeout or dispatch processing. The fix reduces the locking to cover only the attempt to set the DeferredResult but not the dispatching. Issue: SPR-10485master
parent
6825aaf41f
commit
db596d23de
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue