KamoCRM

Reduce org creation latency and fix translation cascade failures

FixSecurityService
Shipped
28 ஏப்ரல், 2026 அன்று 10:24 PM UTC
Author
Kamo
Commit
53b9ad6

- OrganizationController: replace ensureTeamMembersForAllOrgs (full org table scan) with ensureTeamMemberForOrg (single org) — eliminates the ~400ms×N DB round-trips that made the /network/create submit appear stuck - OrganizationController: move emailTemplateSeedClient.seedOrg to a post-commit CompletableFuture so it no longer blocks the HTTP response - SystemUserBackfillService: add ensureTeamMemberForOrg for the focused single-org path used during creation - CommitLogTranslationListener: remove shared @Transactional from translateCommitLog and introduce saveLocaleTranslation with REQUIRES_NEW so a single locale DB error cannot abort the CockroachDB connection and poison all subsequent locale inserts in the same batch

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