Skip to content

Commit 2f10632

Browse files
authored
fix(commands): expire, expireAt are not readonly (#3045)
fixes #3044
1 parent 6406172 commit 2f10632

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/client/lib/commands/EXPIRE.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { CommandParser } from '../client/parser';
22
import { RedisArgument, NumberReply, Command } from '../RESP/types';
33

44
export default {
5-
IS_READ_ONLY: true,
65
/**
76
* Sets a timeout on key. After the timeout has expired, the key will be automatically deleted
87
* @param parser - The Redis command parser

packages/client/lib/commands/EXPIREAT.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RedisArgument, NumberReply, Command } from '../RESP/types';
33
import { transformEXAT } from './generic-transformers';
44

55
export default {
6-
IS_READ_ONLY: true,
76
/**
87
* Sets the expiration for a key at a specific Unix timestamp
98
* @param parser - The Redis command parser

0 commit comments

Comments
 (0)