mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 01:18:18 +00:00
IAM, package, luggage, app health, rate limit, and more
This commit is contained in:
@@ -46,11 +46,11 @@ export function buildIamTypeOrmOptions(): TypeOrmModuleOptions {
|
||||
`${iamDist}/entities/**/*.entity.{ts,js}`,
|
||||
`${apiDist}/entities/**/*.entity.{ts,js}`,
|
||||
],
|
||||
synchronize: false, // schema is owned by IAM migrations — never auto-sync
|
||||
migrationsRun: false, // migrations are run by the IAM package CLI (dev) / IAM team (prod)
|
||||
synchronize: false,
|
||||
migrationsRun: false,
|
||||
autoLoadEntities: false,
|
||||
migrationsTableName: 'typeorm_migrations',
|
||||
retryAttempts: 0, // fail fast in dev if the iam schema / DB is unreachable
|
||||
retryAttempts: process.env.IAM_ENABLED === 'true' ? 3 : 0,
|
||||
logging: ['error'],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user