Открыта бета 1С:ПредприятияОставить заявку
L

Locking postgres

Postgres Advisory Locks for Medusa

Входит в @medusajs/medusa, ставить отдельно не нужно
Категория
Создано
Версия
2.22.4
Последнее обновление
7 часов назад
Ежемесячные загрузки
Загрузка данных

Medusa logo

@medusajs/locking-postgres

Documentation | Website

Building blocks for digital commerce

Medusa is released under the MIT license. PRs welcome! Discord Chat Follow @medusajs

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
TypeModule Provider (Locking Module)
Provider ID
Registered by defaultNo (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.

Resources