Merge pull request #1377 from telomir/jetty-9.4.x
MongoSessionDataStore: fix for scavenging of local immortal sessions
This commit is contained in:
commit
82413e1eeb
|
@ -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