mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
5 lines
151 B
TypeScript
5 lines
151 B
TypeScript
import { Semaphore } from 'await-semaphore'
|
|
|
|
const CONCURRENT_TRANSACTIONS = 1
|
|
export const TRANSACTIONS_LOCK = new Semaphore(CONCURRENT_TRANSACTIONS)
|