redis-semaphore
Version:
Distributed mutex and semaphore based on Redis
13 lines • 385 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultOnLockLost = exports.defaultTimeoutOptions = void 0;
exports.defaultTimeoutOptions = {
lockTimeout: 10000,
acquireTimeout: 10000,
retryInterval: 10
};
function defaultOnLockLost(err) {
throw err;
}
exports.defaultOnLockLost = defaultOnLockLost;
//# sourceMappingURL=misc.js.map
;