Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] conj keys always have -1 as expiration in redis 7 #477

Closed

Conversation

shubhamagrawal1906
Copy link

@shubhamagrawal1906 shubhamagrawal1906 commented Jun 10, 2024

[fix] conj keys always have -1 as expiration in Redis 7
The issue in redis.call('expire', conj_key, timeout, 'gt' when setting up the value of ttl if its value is -1 then this function call won't work.

@Suor
Copy link
Owner

Suor commented Jun 11, 2024

Simply reverting to Redis 4 code should be both simpler and more efficient. Also, in absence of a test this might break again )

@Suor
Copy link
Owner

Suor commented Jun 11, 2024

Fixed in 6e37725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants