REF: default lock time 2 min -> 5 min

This commit is contained in:
Overtorment 2019-02-06 20:50:58 +00:00
parent 216de588a0
commit efd31067ba

View File

@ -24,8 +24,8 @@ export class Lock {
} }
// success - got lock // success - got lock
await this._redis.expire(this._lock_key, 2 * 60); await this._redis.expire(this._lock_key, 5 * 60);
// lock expires in 2 mins just for any case // lock expires in 5 mins just for any case
return true; return true;
} }