UNPKG

redis-semaphore

Version:

Distributed mutex and semaphore based on Redis

14 lines 409 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultTimeoutOptions = void 0; exports.defaultOnLockLost = defaultOnLockLost; exports.defaultTimeoutOptions = { lockTimeout: 10000, acquireTimeout: 10000, acquireAttemptsLimit: Number.POSITIVE_INFINITY, retryInterval: 10 }; function defaultOnLockLost(err) { throw err; } //# sourceMappingURL=misc.js.map