oblien 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -421,7 +421,7 @@ export class RedisStorage {
|
|
|
421
421
|
async set(key, value, ttl) {
|
|
422
422
|
const data = JSON.stringify(value);
|
|
423
423
|
if (ttl) {
|
|
424
|
-
await this.redis.
|
|
424
|
+
await this.redis.setex(key, ttl, data);
|
|
425
425
|
} else {
|
|
426
426
|
await this.redis.set(key, data);
|
|
427
427
|
}
|