From efd31067ba99b44a0ff0b966ecaf7a3e203c698a Mon Sep 17 00:00:00 2001 From: Overtorment Date: Wed, 6 Feb 2019 20:50:58 +0000 Subject: [PATCH] REF: default lock time 2 min -> 5 min --- class/Lock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/Lock.js b/class/Lock.js index f95c53a..e696624 100644 --- a/class/Lock.js +++ b/class/Lock.js @@ -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; }