Skip to content

Commit

Permalink
chore(locking): disable default provider warning (#9956)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-r-l-rodrigues authored Nov 6, 2024
1 parent b0f4167 commit 898a437
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-deers-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/locking": patch
---

Disable default locking provider warn
7 changes: 7 additions & 0 deletions packages/modules/locking/src/loaders/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,17 @@ export default async ({
}

if (!hasDefaultProvider) {
logger.info(
`Locking module: Using "${container.resolve(
LockingDefaultProvider
)}" as default.`
)
/*
logger.warn(
`No default locking provider explicit defined. Using "${container.resolve(
LockingDefaultProvider
)}" as default.`
)
*/
}
}

0 comments on commit 898a437

Please sign in to comment.