mrniko/redisson — pull request #100 by AndrewKolpakov (2014-12-01 08:24:13+00:00)
Title: lock should expire automaticaly if lock owner gone

Currently if redisson client was shutdown abnormally locks created by this client will remain forever.
This solution will create all locks as keys with expiration time set in redis. I'm not sure if this is best solution and what to do with lock() - lock(time, unit) - lock() sequences but it works for me.
Any suggestions or changes are welcome.