KamoCRM

Deliver a legal package to its audience, off the request thread

FeatureDocsService
Shipped
6 ஆகஸ்ட், 2026 அன்று 4:09 PM UTC
Author
Kamo
Commit
949a204

Plan on the request thread (two cheap queries, so the response is exact about who is included and who was skipped and why), write off it: 200 members x 8 documents is 1,600 rows plus as many ESigService calls, and DocsService serves WOPI. The pool is NOT a Spring Executor bean. applicationTaskExecutor is **************** and DocsService already has bare @Async on KSessionService and DocumentService -- publishing an Executor bean would silently move the WOPI session touch onto this small bounded pool. Envelopes are created outside any transaction; a 20s read timeout while holding a Hikari connection is how a pool of ten starves. A signable document whose envelope failed keeps a null envelope_uid, which is the only signal the grid has. The redeliver/void/assignment-grid mappings land here too, so the controller has ONE authorization funnel written and proved once rather than a second one bolted on later; their services answer 501 until Tasks 4-6 fill the bodies.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing