Semaphore configuration persisted in the database. Defines the constraint for the resource pool.
A semaphore with limit=5 allows 5 concurrent requests. Additional requests must wait for slots to become available (expire or be released).
IMPORT_PATH: "@daiso-tech/core/semaphore/contracts"
"@daiso-tech/core/semaphore/contracts"
Maximum number of concurrent units/slots available. Number of concurrent requests that can hold slots simultaneously.
Semaphore configuration persisted in the database. Defines the constraint for the resource pool.
A semaphore with limit=5 allows 5 concurrent requests. Additional requests must wait for slots to become available (expire or be released).
IMPORT_PATH:
"@daiso-tech/core/semaphore/contracts"