KamoCRM

Startup checks for the one-address-per-campaign index instead of creating it

FixEmailService
Shipped
12 செப்டம்பர், 2026 அன்று 3:14 AM UTC
Author
Kamo
Commit
c4e69e4

EmailService ran CREATE UNIQUE INDEX on every startup. DDL on this cluster costs every service about fifteen minutes of "schema version mismatch", too much to risk on each deploy of one service. The index is now created by KamoInitializerService, where schema changes are made; startup only reads pg_indexes and logs an error if the backstop is missing. The code-level rule applies either way.

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