Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Use Bool, not Long, to determine if session key exists #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trasa
Copy link

@trasa trasa commented Jan 14, 2016

This class calls jedis.exists() to determine if a session key has
expired or not - but was comparing the return value vs. 0L
instead of vs. a boolean false, so RedisSessions would never be
scavenged, leaking resources.

See:
#7

This class calls jedis.exists() to determine if a session key has
expired or not - but was comparing the return value vs. 0L
instead of vs. a boolean false, so RedisSessions would never be
scavenged, leaking resources.

See:
ovea-deprecated#7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant