danielstjules / redislock

Node distributed locking using redis
MIT License
110 stars 32 forks source link

Auto extend lock #15

Open kusumo1920 opened 4 years ago

kusumo1920 commented 4 years ago

Hi, after reading documentation on npm package page, is there a way to auto extend timeout of lock, to prevent code executed outside the lock after expiring? Considering it may possible that some async work haven't finished. Thank you.