Example #1
0
 def get(self):
     memcache.flush_all()
     db.delete(SessionModel.all(keys_only=True).fetch(1000))
Example #2
0
 def get(self):
     memcache.flush_all()
     db.delete(SessionModel.all(keys_only=True).fetch(1000))
Example #3
0
 def get(self):
     num_before = SessionModel.all().count()
     delete_expired_sessions()
     num_after = SessionModel.all().count()
     self.response.out.write('%d,%d' % (num_before, num_after))
Example #4
0
 def get(self):
     num_before = SessionModel.all().count()
     delete_expired_sessions()
     num_after = SessionModel.all().count()
     self.response.out.write('%d,%d' % (num_before, num_after))