REF: default lock time 2 min -> 5 min
This commit is contained in:
parent
216de588a0
commit
efd31067ba
@ -24,8 +24,8 @@ export class Lock {
|
||||
}
|
||||
|
||||
// success - got lock
|
||||
await this._redis.expire(this._lock_key, 2 * 60);
|
||||
// lock expires in 2 mins just for any case
|
||||
await this._redis.expire(this._lock_key, 5 * 60);
|
||||
// lock expires in 5 mins just for any case
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user