Closed Quocdat1205 closed 11 months ago
How can i set time for key?
this.redis.set('key', 'Redis data!'); this.redis.expire("key", 10); // 10 seconds this.redis.ttl("key"); // a number smaller or equal to 10
How can i set time for key?