Describe the bug

Expiry value not working in client.SET() i.e EX attribute

To reproduce

use client.SET function anywhere with EX

for example client.SET('key', 'value', 'EX', 10);

Expected behavior

The program gets stuck

Additional information

Older version like 3.1.2 is working fine

Comment From: sundb

Do you mean the client or Redis get stuck?

Comment From: Harish27012002

Hi @cyrilckurian which version of redis your using

Comment From: cyrilckurian

Do you mean the client or Redis get stuck?

Redis got stuck because of that I didn't get any response from client

Comment From: cyrilckurian

Hi @cyrilckurian which version of redis your using

Redis version 4.6.12

Comment From: oranagra

Redis didn't have a version 4.6, nor 3.1. maybe you're using some other project or got the version number from the wrong component? p.s. which client are you using?

Comment From: cyrilckurian

Redis didn't have a version 4.6, nor 3.1. maybe you're using some other project or got the version number from the wrong component? p.s. which client are you using?

Oh, I'm using node-redis

Comment From: sundb

@cyrilckurian i think you can get help from https://github.com/redis/node-redis.