mongodb sessions: fix for expiry of local immortal sessions; condition does not get overwritten by anymore
Signed-off-by: Tilo Zemke <telomir@gmail.com>
This commit is contained in:
parent
4a0dd14a81
commit
80a4aeb2bc
|
@ -366,8 +366,7 @@ public class MongoSessionDataStore extends NoSqlSessionDataStore
|
|||
//these candidates will be for our node
|
||||
BasicDBObject query = new BasicDBObject();
|
||||
query.append(__ID,new BasicDBObject("$in", candidates));
|
||||
query.append(__EXPIRY, new BasicDBObject("$gt", 0));
|
||||
query.append(__EXPIRY, new BasicDBObject("$lt", upperBound));
|
||||
query.append(__EXPIRY, new BasicDBObject("$gt", 0).append("$lt", upperBound));
|
||||
|
||||
DBCursor verifiedExpiredSessions = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue