redis-lua
redis-lua copied to clipboard
how to set expire key:value for redis
i read the readme file but there is no docs for expire time of key client:set('foo', 'bar')
how to set expire time for key "foo" about 3 minutes
thank you
use client:setex('foo', 3*60, 'bar')