L
Locking postgres
Postgres Advisory Locks for Medusa
@medusajs/locking-postgres
Documentation | Website
Building blocks for digital commerce
PostgreSQL Locking Module Provider for Medusa: implements the Locking Module's locks with PostgreSQL advisory locks, using the application's existing database. Use it in production when you don't have Redis; the Redis provider is recommended when available. It ships with and is registered through the path.
At a glance
| Package | |
| Type | Module Provider (Locking Module) |
| Provider ID | |
| Registered by default | No (the Locking Module uses an in-memory provider by default) |
| Import from |
Installation
No installation needed. The provider is a dependency of .
Usage
Register the provider in the Locking Module's array in , then run to create the provider's table.
Configuration
The provider has no options.

