Skip to content

Commit

Permalink
BC-8121 - disable mikroorm debugging for prod (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Metauriel authored Sep 25, 2024
1 parent b20156a commit f8c51bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { DeletionExecutionConsole } from './deletion-execution.console';
user: DB_USERNAME,
allowGlobalContext: true,
entities: [...ALL_ENTITIES, FileEntity],
debug: true,
// debug: true, // use it for locally debugging of queries
}),
AccountModule,
HttpModule,
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/idp-console/idp-console.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { SynchronizationUc } from './uc';
user: DB_USERNAME,
allowGlobalContext: true,
entities: [...ALL_ENTITIES, SynchronizationEntity],
debug: true,
// debug: true, // use it for locally debugging of queries
}),
UserModule,
LoggerModule,
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/server/admin-api.server.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const serverModules = [
password: DB_PASSWORD,
user: DB_USERNAME,
entities: [...ALL_ENTITIES, FileEntity],
debug: true,
// debug: true, // use it for locally debugging of queries
}),
CqrsModule,
LoggerModule,
Expand Down

0 comments on commit f8c51bf

Please sign in to comment.