spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Fix Deprecated Redis Command

Open onjik opened this issue 1 year ago • 5 comments

Redis' SETEX command is deprecated

I actually used this replacement in my project, and it worked successfully. I am sending this request in case the command will not work in the future.

Thank you

https://redis.io/commands/setex/ As of Redis version 2.6.12, this command is regarded as deprecated. It can be replaced by SET with the EX argument when migrating or writing new code.

onjik avatar Apr 06 '24 09:04 onjik

@mp911de thoughts on this change?

spencergibb avatar Apr 10 '24 23:04 spencergibb

I think it is straightforward looking at the redis docs.

spencergibb avatar Apr 10 '24 23:04 spencergibb

All good here. SET … EX was introduced with Redis 2.6, right now we're at 7.2 so I don't have any compatibility concerns.

mp911de avatar Apr 11 '24 08:04 mp911de

@spencergibb Could you please re-do the workflow approval? Thank you.

onjik avatar Apr 15 '24 06:04 onjik

Hi @spencergibb

Is there anything else I need to do to be merged or allocated milestones?

Thank you😀

onjik avatar Apr 18 '24 15:04 onjik