Skip to content

Commit 637d4cf

Browse files
authored
fix: Missing DB traces in instrumentation (medusajs#13429)
* chore: Fix issue with missing DB traces * Fix missing DB traces in Medusa package Fixes an issue related to missing database traces in the Medusa package.
1 parent 2fe68a9 commit 637d4cf

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/olive-news-fix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/medusa": patch
3+
---
4+
5+
chore: Fix issue with missing DB traces

packages/medusa/src/commands/start.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ async function start(args: {
146146
}) {
147147
const { port = 9000, host, directory, types } = args
148148

149-
const container = await initializeContainer(directory)
149+
const container = await initializeContainer(directory, {
150+
skipDbConnection: true,
151+
})
150152
const logger = container.resolve(ContainerRegistrationKeys.LOGGER)
151153

152154
async function internalStart(generateTypes: boolean) {

0 commit comments

Comments
 (0)