1
0
mirror of https://github.com/redis/node-redis.git synced 2025-12-09 21:21:11 +03:00

fix(commands): expire, expireAt are not readonly (#3045)

fixes #3044
This commit is contained in:
Nikolay Karadzhov
2025-08-06 09:50:19 +03:00
committed by GitHub
parent 6406172ea8
commit 2f10632450
2 changed files with 0 additions and 2 deletions

View File

@@ -2,7 +2,6 @@ import { CommandParser } from '../client/parser';
import { RedisArgument, NumberReply, Command } from '../RESP/types';
export default {
IS_READ_ONLY: true,
/**
* Sets a timeout on key. After the timeout has expired, the key will be automatically deleted
* @param parser - The Redis command parser

View File

@@ -3,7 +3,6 @@ import { RedisArgument, NumberReply, Command } from '../RESP/types';
import { transformEXAT } from './generic-transformers';
export default {
IS_READ_ONLY: true,
/**
* Sets the expiration for a key at a specific Unix timestamp
* @param parser - The Redis command parser