koajs / koa-redis

Redis storage for Koa session middleware/cache with Sentinel and Cluster support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get action renewal session expire time

jmeo opened this issue · comments

commented

If use do redis get action , the expire time also is last set action ttl . If user always do get action , the redis key will be removed by the time.

Can you submit a pull request or provide more insight?

commented

in index.js at line 115 , method in method get , just do client.get , not do expire action